Home
last modified time | relevance | path

Searched refs:filterClass (Results 1 – 1 of 1) sorted by relevance

/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Protocol/Factory/
H A DFilterFactory.php57 $filterClass = self::$map[$type->getTagNumber()] ?? null;
58 if ($filterClass === null) {
64 $filterConstruct = $filterClass . '::fromAsn1';
86 * @param string $filterClass
88 public static function set(int $filterType, string $filterClass): void argument
90 if (!class_exists($filterClass)) {
91 … throw new InvalidArgumentException(sprintf('The filter class does not exist: %s', $filterClass));
93 if (!is_subclass_of($filterClass, FilterInterface::class)) {
94 …lidArgumentException(sprintf('The filter class must implement FilterInterface: %s', $filterClass));
97 self::$map[$filterType] = $filterClass;