public function matches($className, $methodName, $methodDeclaringClassName, $pointcutQueryIdentifier): bool
    {
        if ($this->isInterface === true) {
            return (array_search($this->interfaceOrClassName, class_implements($className)) !== false);
        } else {
            return ($className === $this->interfaceOrClassName || is_subclass_of($className, $this->interfaceOrClassName));
        }
    }
public function matches($className, $methodName, $methodDeclaringClassName, $pointcutQueryIdentifier): bool
    {
        if ($this->isInterface === true) {
            return (array_search($this->interfaceOrClassName, class_implements($className)) !== false);
        } else {
            return ($className === $this->interfaceOrClassName || is_subclass_of($className, $this->interfaceOrClassName));
        }
    }
public function matches ( $ className , $ methodName , $ methodDeclaringClassName , $ pointcutQueryIdentifier ) : bool { if ( $ this -> isInterface === true ) { return ( array_search ( $ this -> interfaceOrClassName , class_implements ( $ className ) ) !== false ) ; } else { return ( $ className === $ this -> interfaceOrClassName || is_subclass_of ( $ className , $ this -> interfaceOrClassName ) ) ; } }
Checks if the specified class matches with the class type filter

@param string $className Name of the class to check against
@param string $methodName Name of the method - not used here
@param string $methodDeclaringClassName Name of the class the method was originally declared in - not used here
@param mixed $pointcutQueryIdentifier Some identifier for this query - must at least differ from a previous identifier. Used for circular reference detection.
@return boolean true if the class matches, otherwise false
Checks if the specified class matches with the class type filter