PHP Class Neos\Flow\Aop\Advisor

Mostrar archivo Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$advice Neos\Flow\Aop\Advice\AdviceInterface The advisor's advice
$pointcut Neos\Flow\Aop\Pointcut\Pointcut The pointcut for the advice

Public Methods

Method Description
__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

Method Details

__construct() public method

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() public method

Returns the advisor's advice
public getAdvice ( ) : Neos\Flow\Aop\Advice\AdviceInterface
return Neos\Flow\Aop\Advice\AdviceInterface The advice

getPointcut() public method

Returns the advisor's pointcut
public getPointcut ( ) : Pointcut
return Neos\Flow\Aop\Pointcut\Pointcut The pointcut

Property Details

$advice protected_oe property

The advisor's advice
protected AdviceInterface,Neos\Flow\Aop\Advice $advice
return Neos\Flow\Aop\Advice\AdviceInterface

$pointcut protected_oe property

The pointcut for the advice
protected Pointcut,Neos\Flow\Aop\Pointcut $pointcut
return Neos\Flow\Aop\Pointcut\Pointcut