PHP Класс Neos\Flow\Aop\Pointcut\PointcutFilter

Наследование: implements Neos\Flow\Aop\Pointcut\PointcutFilterInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$aspectClassName string Name of the aspect class where the pointcut was declared
$pointcut Pointcut The pointcut this filter is based on
$pointcutMethodName string Name of the pointcut method
$proxyClassBuilder Neos\Flow\Aop\Builder\ProxyClassBuilder A reference to the AOP Proxy ClassBuilder

Открытые методы

Метод Описание
__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 ( ProxyClassBuilder $proxyClassBuilder ) : void 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 ( ClassNameIndex $classNameIndex ) : ClassNameIndex This method is used to optimize the matching process.

Описание методов

__construct() публичный Метод

The constructor - initializes the pointcut filter with the name of the pointcut we're referring to
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

getRuntimeEvaluationsDefinition() публичный Метод

Returns runtime evaluations for the pointcut.
public getRuntimeEvaluationsDefinition ( ) : array
Результат array Runtime evaluations

hasRuntimeEvaluationsDefinition() публичный Метод

Returns TRUE if this filter holds runtime evaluations for a previously matched pointcut
public hasRuntimeEvaluationsDefinition ( ) : boolean
Результат boolean TRUE if this filter has runtime evaluations

injectProxyClassBuilder() публичный Метод

Injects the AOP Proxy Class Builder
public injectProxyClassBuilder ( ProxyClassBuilder $proxyClassBuilder ) : void
$proxyClassBuilder Neos\Flow\Aop\Builder\ProxyClassBuilder
Результат void

matches() публичный Метод

Checks if the specified class and method matches with the pointcut
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.
Результат boolean TRUE if the class matches, otherwise FALSE

reduceTargetClassNames() публичный Метод

This method is used to optimize the matching process.
public reduceTargetClassNames ( ClassNameIndex $classNameIndex ) : ClassNameIndex
$classNameIndex Neos\Flow\Aop\Builder\ClassNameIndex
Результат Neos\Flow\Aop\Builder\ClassNameIndex

Описание свойств

$aspectClassName защищенное свойство

Name of the aspect class where the pointcut was declared
protected string $aspectClassName
Результат string

$pointcut защищенное свойство

The pointcut this filter is based on
protected Pointcut,Neos\Flow\Aop\Pointcut $pointcut
Результат Pointcut

$pointcutMethodName защищенное свойство

Name of the pointcut method
protected string $pointcutMethodName
Результат string

$proxyClassBuilder защищенное свойство

A reference to the AOP Proxy ClassBuilder
protected ProxyClassBuilder,Neos\Flow\Aop\Builder $proxyClassBuilder
Результат Neos\Flow\Aop\Builder\ProxyClassBuilder