public function matches($className, $methodName, $methodDeclaringClassName, $pointcutQueryIdentifier): bool
    {
        if ($this->pointcut === null) {
            $this->pointcut = $this->proxyClassBuilder->findPointcut($this->aspectClassName, $this->pointcutMethodName);
        }
        if ($this->pointcut === false) {
            throw new UnknownPointcutException('No pointcut "' . $this->pointcutMethodName . '" found in aspect class "' . $this->aspectClassName . '" .', 1172223694);
        }
        return $this->pointcut->matches($className, $methodName, $methodDeclaringClassName, $pointcutQueryIdentifier);
    }
public function matches($className, $methodName, $methodDeclaringClassName, $pointcutQueryIdentifier): bool
    {
        if ($this->pointcut === null) {
            $this->pointcut = $this->proxyClassBuilder->findPointcut($this->aspectClassName, $this->pointcutMethodName);
        }
        if ($this->pointcut === false) {
            throw new UnknownPointcutException('No pointcut "' . $this->pointcutMethodName . '" found in aspect class "' . $this->aspectClassName . '" .', 1172223694);
        }
        return $this->pointcut->matches($className, $methodName, $methodDeclaringClassName, $pointcutQueryIdentifier);
    }
public function matches ( $ className , $ methodName , $ methodDeclaringClassName , $ pointcutQueryIdentifier ) : bool { if ( $ this -> pointcut === null ) { $ this -> pointcut = $ this -> proxyClassBuilder -> findPointcut ( $ this -> aspectClassName , $ this -> pointcutMethodName ) ; } if ( $ this -> pointcut === false ) { throw new UnknownPointcutException ( 'No pointcut "' . $ this -> pointcutMethodName . '" found in aspect class "' . $ this -> aspectClassName . '" .' , 1172223694 ) ; } return $ this -> pointcut -> matches ( $ className , $ methodName , $ methodDeclaringClassName , $ pointcutQueryIdentifier ) ; }
Checks if the specified class and method matches with the pointcut

@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
@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
@throws UnknownPointcutException
Checks if the specified class and method matches with the pointcut