Property | Type | Description | |
---|---|---|---|
$aspectClassName | string | Name of the aspect class where the pointcut was declared | |
$pointcut | The pointcut this filter is based on | ||
$pointcutMethodName | string | Name of the pointcut method | |
$proxyClassBuilder | A reference to the AOP Proxy ClassBuilder |
Method | Description | |
---|---|---|
__construct ( string $aspectClassName, string $pointcutMethodName ) | The constructor - initializes the pointcut filter with the name of the pointcut we're referring to | |
getRuntimeEvaluationsDefinition ( ) : array | Returns runtime evaluations for the pointcut. | |
hasRuntimeEvaluationsDefinition ( ) : boolean | Returns TRUE if this filter holds runtime evaluations for a previously matched pointcut | |
injectProxyClassBuilder ( |
Injects the AOP Proxy Class Builder | |
matches ( string $className, string $methodName, string $methodDeclaringClassName, mixed $pointcutQueryIdentifier ) : boolean | Checks if the specified class and method matches with the pointcut | |
reduceTargetClassNames ( |
This method is used to optimize the matching process. |
public __construct ( string $aspectClassName, string $pointcutMethodName ) | ||
$aspectClassName | string | Name of the aspect class containing the pointcut |
$pointcutMethodName | string | Name of the method which acts as an anchor for the pointcut name and expression |
public getRuntimeEvaluationsDefinition ( ) : array | ||
return | array | Runtime evaluations |
public hasRuntimeEvaluationsDefinition ( ) : boolean | ||
return | boolean | TRUE if this filter has runtime evaluations |
public injectProxyClassBuilder ( |
||
$proxyClassBuilder | ||
return | void |
public matches ( string $className, string $methodName, string $methodDeclaringClassName, mixed $pointcutQueryIdentifier ) : boolean | ||
$className | string | Name of the class to check against |
$methodName | string | Name of the method - not used here |
$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 string $aspectClassName | ||
return | string |
protected Pointcut,Neos\Flow\Aop\Pointcut $pointcut | ||
return |
protected string $pointcutMethodName | ||
return | string |