PHP Interface Neos\Flow\Aop\Advice\AdviceInterface

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

Méthodes publiques

Méthode 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 méthode

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

getAspectObjectName() public méthode

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

invoke() public méthode

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
Résultat mixed Optionally the result of the advice method