Свойство | Type | Description | |
---|---|---|---|
$aspectClassName | string | If this pointcut is based on a pointcut declaration, contains the name of the aspect class where the pointcut was declared | |
$pointcutExpression | string | A pointcut expression which configures the pointcut | |
$pointcutFilterComposite | The filter composite object, created from the pointcut expression | ||
$pointcutMethodName | string | If this pointcut is based on a pointcut declaration, contains the name of the method acting as the pointcut identifier | |
$pointcutQueryIdentifier | mixed | An identifier which is used to detect circular references between pointcuts | |
$recursionLevel | integer | Counts how often this pointcut's matches() method has been called during one query |
Méthode | Description | |
---|---|---|
__construct ( string $pointcutExpression, |
The constructor | |
getAspectClassName ( ) : string | Returns the aspect class name where the pointcut was declared. | |
getPointcutExpression ( ) : string | Returns the pointcut expression which has been passed to the constructor. | |
getPointcutMethodName ( ) : string | Returns the pointcut method name (if any was defined) | |
getRuntimeEvaluationsClosureCode ( ) : string | Returns the PHP code (closure) that evaluates the runtime evaluations | |
getRuntimeEvaluationsDefinition ( ) : array | Returns runtime evaluations for the pointcut. | |
hasRuntimeEvaluationsDefinition ( ) : boolean | Returns TRUE if this filter holds runtime evaluations for a previously matched pointcut | |
matches ( string $className, string $methodName, string $methodDeclaringClassName, mixed $pointcutQueryIdentifier ) : boolean | Checks if the given class and method match this pointcut. | |
reduceTargetClassNames ( |
This method is used to optimize the matching process. |
public __construct ( string $pointcutExpression, |
||
$pointcutExpression | string | A pointcut expression which configures the pointcut |
$pointcutFilterComposite | ||
$aspectClassName | string | The name of the aspect class where the pointcut was declared (either explicitly or from an advice's pointcut expression) |
$pointcutMethodName | string | (optional) If the pointcut is created from a pointcut declaration, the name of the method declaring the pointcut must be passed |
public getAspectClassName ( ) : string | ||
Résultat | string | The aspect class name where the pointcut was declared |
public getPointcutExpression ( ) : string | ||
Résultat | string | The pointcut expression |
public getPointcutMethodName ( ) : string | ||
Résultat | string | The pointcut method name |
public getRuntimeEvaluationsClosureCode ( ) : string | ||
Résultat | string | The closure code |
public getRuntimeEvaluationsDefinition ( ) : array | ||
Résultat | array | Runtime evaluations |
public hasRuntimeEvaluationsDefinition ( ) : boolean | ||
Résultat | boolean | TRUE if this filter has runtime evaluations |
public matches ( string $className, string $methodName, string $methodDeclaringClassName, mixed $pointcutQueryIdentifier ) : boolean | ||
$className | string | Class to check against |
$methodName | string | Method to check 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. |
Résultat | boolean | TRUE if class and method match this point cut, otherwise FALSE |
public reduceTargetClassNames ( |
||
$classNameIndex | ||
Résultat |
protected string $aspectClassName | ||
Résultat | string |
protected string $pointcutExpression | ||
Résultat | string |
protected PointcutFilterComposite,Neos\Flow\Aop\Pointcut $pointcutFilterComposite | ||
Résultat |
protected string $pointcutMethodName | ||
Résultat | string |
protected mixed $pointcutQueryIdentifier | ||
Résultat | mixed |
protected int $recursionLevel | ||
Résultat | integer |