PHP Interface Neos\Flow\Aop\Advice\AdviceInterface

In Flow all advices are implemented as interceptors.
See also: Neos\Flow\Aop\InterceptorInterface
Show file Open project: neos/flow-development-collection

Public Methods

Method Description
getAdviceMethodName ( ) : string Returns the advice's method name which has been passed to the constructor
getAspectObjectName ( ) : string Returns the aspect's object name which has been passed to the constructor
invoke ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : mixed Invokes the advice method

Method Details

getAdviceMethodName() public method

Returns the advice's method name which has been passed to the constructor
public getAdviceMethodName ( ) : string
return string The name of the advice method

getAspectObjectName() public method

Returns the aspect's object name which has been passed to the constructor
public getAspectObjectName ( ) : string
return string The object name of the aspect

invoke() public method

Invokes the advice method
public invoke ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : mixed
$joinPoint Neos\Flow\Aop\JoinPointInterface The current join point which is passed to the advice method
return mixed Optionally the result of the advice method