프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$classFilterExpression | string | A regular expression to match class names | |
$originalExpressionString | string | ||
$reflectionService |
메소드 | 설명 | |
---|---|---|
__construct ( string $classFilterExpression ) | The constructor - initializes the class filter with the class filter expression | |
getRuntimeEvaluationsDefinition ( ) : array | Returns runtime evaluations for the pointcut. | |
hasRuntimeEvaluationsDefinition ( ) : boolean | Returns TRUE if this filter holds runtime evaluations for a previously matched pointcut | |
injectReflectionService ( |
Injects the reflection service | |
matches ( string $className, string $methodName, string $methodDeclaringClassName, mixed $pointcutQueryIdentifier ) : boolean | Checks if the specified class matches with the class filter pattern | |
reduceTargetClassNames ( |
This method is used to optimize the matching process. |
public __construct ( string $classFilterExpression ) | ||
$classFilterExpression | string | A regular expression which defines which class names should match |
public getRuntimeEvaluationsDefinition ( ) : array | ||
리턴 | array | Runtime evaluations |
public hasRuntimeEvaluationsDefinition ( ) : boolean | ||
리턴 | boolean | TRUE if this filter has runtime evaluations |
public injectReflectionService ( |
||
$reflectionService | The reflection service | |
리턴 | void |
public matches ( string $className, string $methodName, string $methodDeclaringClassName, mixed $pointcutQueryIdentifier ) : boolean | ||
$className | string | Name of the class to check against |
$methodName | string | Name of the method - not used here |
$methodDeclaringClassName | string | Name of the class the method was originally declared in - not used here |
$pointcutQueryIdentifier | mixed | Some identifier for this query - must at least differ from a previous identifier. Used for circular reference detection. |
리턴 | boolean | TRUE if the class matches, otherwise FALSE |
public reduceTargetClassNames ( |
||
$classNameIndex | ||
리턴 |
protected string $classFilterExpression | ||
리턴 | string |