Свойство | Type | Description | |
---|---|---|---|
$annotation | The tag of an annotation to match against | ||
$annotationValueConstraints | array | ||
$reflectionService | |||
$systemLogger | Neos\Flow\Log\SystemLoggerInterface |
Méthode | Description | |
---|---|---|
__construct ( string $annotation, array $annotationValueConstraints = [] ) | The constructor - initializes the method annotation filter with the expected annotation class | |
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 | |
injectSystemLogger ( Neos\Flow\Log\SystemLoggerInterface $systemLogger ) : void | ||
matches ( string $className, string $methodName, string $methodDeclaringClassName, mixed $pointcutQueryIdentifier ) : boolean | Checks if the specified method matches with the method annotation filter pattern | |
reduceTargetClassNames ( |
This method is used to optimize the matching process. |
public __construct ( string $annotation, array $annotationValueConstraints = [] ) | ||
$annotation | string | An annotation class (for example "Neos\Flow\Annotations\Lazy") which defines which method annotations should match |
$annotationValueConstraints | array |
public getRuntimeEvaluationsDefinition ( ) : array | ||
Résultat | array | Runtime evaluations |
public hasRuntimeEvaluationsDefinition ( ) : boolean | ||
Résultat | boolean | TRUE if this filter has runtime evaluations |
public injectReflectionService ( |
||
$reflectionService | The reflection service | |
Résultat | void |
public injectSystemLogger ( Neos\Flow\Log\SystemLoggerInterface $systemLogger ) : void | ||
$systemLogger | Neos\Flow\Log\SystemLoggerInterface | |
Résultat | void |
public matches ( string $className, string $methodName, string $methodDeclaringClassName, mixed $pointcutQueryIdentifier ) : boolean | ||
$className | string | Name of the class to check against - not used here |
$methodName | string | Name of the method |
$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 - not used here |
Résultat | boolean | TRUE if the class matches, otherwise FALSE |
public reduceTargetClassNames ( |
||
$classNameIndex | ||
Résultat |
protected array $annotationValueConstraints | ||
Résultat | array |
protected ReflectionService,Neos\Flow\Reflection $reflectionService | ||
Résultat |