Свойство | Тип | Описание | |
---|---|---|---|
$methodArgumentConstraints | Array with constraints for method arguments | ||
$methodNameFilterExpression | The method name filter expression | ||
$methodVisibility | The method visibility | ||
$reflectionService | |||
$systemLogger | Neos\Flow\Log\SystemLoggerInterface |
Метод | Описание | |
---|---|---|
__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 | ||
Результат | array |
public getMethodNameFilterExpression ( ) : string | ||
Результат | string |
public getMethodVisibility ( ) : string | ||
Результат | string |
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 injectSystemLogger ( Neos\Flow\Log\SystemLoggerInterface $systemLogger ) : void | ||
$systemLogger | Neos\Flow\Log\SystemLoggerInterface | |
Результат | 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. |
Результат | boolean | TRUE if the class matches, otherwise FALSE |
public reduceTargetClassNames ( |
||
$classNameIndex | ||
Результат |
protected $methodArgumentConstraints |
protected $methodNameFilterExpression |
protected ReflectionService,Neos\Flow\Reflection $reflectionService | ||
Результат |