PHP Класс Neos\Flow\Aop\Advisor

Показать файл Открыть проект

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

Свойство Тип Описание
$advice Neos\Flow\Aop\Advice\AdviceInterface The advisor's advice
$pointcut Neos\Flow\Aop\Pointcut\Pointcut The pointcut for the advice

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

Метод Описание
__construct ( Neos\Flow\Aop\Advice\AdviceInterface $advice, Pointcut $pointcut ) Initializes the advisor with an advice and a pointcut
getAdvice ( ) : Neos\Flow\Aop\Advice\AdviceInterface Returns the advisor's advice
getPointcut ( ) : Pointcut Returns the advisor's pointcut

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

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

Initializes the advisor with an advice and a pointcut
public __construct ( Neos\Flow\Aop\Advice\AdviceInterface $advice, Pointcut $pointcut )
$advice Neos\Flow\Aop\Advice\AdviceInterface The advice to weave in
$pointcut Neos\Flow\Aop\Pointcut\Pointcut The pointcut where the advice should be inserted

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

Returns the advisor's advice
public getAdvice ( ) : Neos\Flow\Aop\Advice\AdviceInterface
Результат Neos\Flow\Aop\Advice\AdviceInterface The advice

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

Returns the advisor's pointcut
public getPointcut ( ) : Pointcut
Результат Neos\Flow\Aop\Pointcut\Pointcut The pointcut

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

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

The advisor's advice
protected AdviceInterface,Neos\Flow\Aop\Advice $advice
Результат Neos\Flow\Aop\Advice\AdviceInterface

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

The pointcut for the advice
protected Pointcut,Neos\Flow\Aop\Pointcut $pointcut
Результат Neos\Flow\Aop\Pointcut\Pointcut