public function matches($className, $methodName, $methodDeclaringClassName, $pointcutQueryIdentifier): bool
    {
        try {
            $matchResult = preg_match($this->classFilterExpression, $className);
        } catch (\Exception $exception) {
            throw new Exception('Error in regular expression "' . $this->classFilterExpression . '" in pointcut class filter', 1292324509, $exception);
        }
        if ($matchResult === false) {
            throw new Exception('Error in regular expression "' . $this->classFilterExpression . '" in pointcut class filter', 1168876955);
        }
        return ($matchResult === 1);
    }
public function matches($className, $methodName, $methodDeclaringClassName, $pointcutQueryIdentifier): bool
    {
        try {
            $matchResult = preg_match($this->classFilterExpression, $className);
        } catch (\Exception $exception) {
            throw new Exception('Error in regular expression "' . $this->classFilterExpression . '" in pointcut class filter', 1292324509, $exception);
        }
        if ($matchResult === false) {
            throw new Exception('Error in regular expression "' . $this->classFilterExpression . '" in pointcut class filter', 1168876955);
        }
        return ($matchResult === 1);
    }
public function matches ( $ className , $ methodName , $ methodDeclaringClassName , $ pointcutQueryIdentifier ) : bool { try { $ matchResult = preg_match ( $ this -> classFilterExpression , $ className ) ; } catch ( \ Exception $ exception ) { throw new Exception ( 'Error in regular expression "' . $ this -> classFilterExpression . '" in pointcut class filter' , 1292324509 , $ exception ) ; } if ( $ matchResult === false ) { throw new Exception ( 'Error in regular expression "' . $ this -> classFilterExpression . '" in pointcut class filter' , 1168876955 ) ; } return ( $ matchResult === 1 ) ; }
Checks if the specified class matches with the class filter pattern

@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
@throws Exception
Checks if the specified class matches with the class filter pattern