Свойство | Тип | Описание | |
---|---|---|---|
$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 |
Метод | Описание | |
---|---|---|
__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 | ||
Результат | string | The aspect class name where the pointcut was declared |
public getPointcutExpression ( ) : string | ||
Результат | string | The pointcut expression |
public getPointcutMethodName ( ) : string | ||
Результат | string | The pointcut method name |
public getRuntimeEvaluationsClosureCode ( ) : string | ||
Результат | string | The closure code |
public getRuntimeEvaluationsDefinition ( ) : array | ||
Результат | array | Runtime evaluations |
public hasRuntimeEvaluationsDefinition ( ) : boolean | ||
Результат | 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. |
Результат | boolean | TRUE if class and method match this point cut, otherwise FALSE |
public reduceTargetClassNames ( |
||
$classNameIndex | ||
Результат |
protected string $aspectClassName | ||
Результат | string |
protected string $pointcutExpression | ||
Результат | string |
protected PointcutFilterComposite,Neos\Flow\Aop\Pointcut $pointcutFilterComposite | ||
Результат |
protected string $pointcutMethodName | ||
Результат | string |
protected mixed $pointcutQueryIdentifier | ||
Результат | mixed |
protected int $recursionLevel | ||
Результат | integer |