Property | Type | Description | |
---|---|---|---|
$methodArgumentConstraints | Array with constraints for method arguments | ||
$methodNameFilterExpression | The method name filter expression | ||
$methodVisibility | The method visibility | ||
$reflectionService | |||
$systemLogger | Neos\Flow\Log\SystemLoggerInterface |
Method | Description | |
---|---|---|
__construct ( string $methodNameFilterExpression, string $methodVisibility = null, array $methodArgumentConstraints = [] ) | Constructor - initializes the filter with the name filter pattern | |
getMethodArgumentConstraints ( ) : array | Returns the method argument constraints | |
getMethodNameFilterExpression ( ) : string | Returns the method name filter expression | |
getMethodVisibility ( ) : string | Returns the method visibility | |
getRuntimeEvaluationsDefinition ( ) : array | Returns runtime evaluations for a previously matched pointcut | |
hasRuntimeEvaluationsDefinition ( ) : boolean | Returns TRUE if this filter holds runtime evaluations for a previously matched pointcut | |
injectReflectionService ( |
Injects the reflection service | |
injectSystemLogger ( Neos\Flow\Log\SystemLoggerInterface $systemLogger ) : void | ||
matches ( string $className, string $methodName, string $methodDeclaringClassName, mixed $pointcutQueryIdentifier ) : boolean | Checks if the specified method matches against the method name expression. | |
reduceTargetClassNames ( |
This method is used to optimize the matching process. |
public __construct ( string $methodNameFilterExpression, string $methodVisibility = null, array $methodArgumentConstraints = [] ) | ||
$methodNameFilterExpression | string | A regular expression which filters method names |
$methodVisibility | string | The method visibility modifier (public, protected or private). Specifiy NULL if you don't care. |
$methodArgumentConstraints | array | array of method constraints |
public getMethodArgumentConstraints ( ) : array | ||
return | array |
public getMethodNameFilterExpression ( ) : string | ||
return | string |
public getMethodVisibility ( ) : string | ||
return | string |
public getRuntimeEvaluationsDefinition ( ) : array | ||
return | array | Runtime evaluations |
public hasRuntimeEvaluationsDefinition ( ) : boolean | ||
return | boolean | TRUE if this filter has runtime evaluations |
public injectReflectionService ( |
||
$reflectionService | The reflection service | |
return | void |
public injectSystemLogger ( Neos\Flow\Log\SystemLoggerInterface $systemLogger ) : void | ||
$systemLogger | Neos\Flow\Log\SystemLoggerInterface | |
return | void |
public matches ( string $className, string $methodName, string $methodDeclaringClassName, mixed $pointcutQueryIdentifier ) : boolean | ||
$className | string | Ignored in this pointcut filter |
$methodName | string | Name of the method to match against |
$methodDeclaringClassName | string | Name of the class the method was originally declared in |
$pointcutQueryIdentifier | mixed | 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 |
public reduceTargetClassNames ( |
||
$classNameIndex | ||
return |
protected $methodArgumentConstraints |
protected $methodNameFilterExpression |
protected ReflectionService,Neos\Flow\Reflection $reflectionService | ||
return |