PHP Class Go\Stubs\BaseInterceptorMock

Inheritance: extends Go\Aop\Framework\BaseInterceptor
Afficher le fichier Open project: goaop/framework

Méthodes publiques

Méthode Description
__construct ( $adviceMethod, $order, $pointcutExpression = '' )
invoke ( Go\Aop\Intercept\Joinpoint $joinpoint ) : mixed Implement this method to perform extra treatments before and after the invocation of joinpoint.
serializeAdvice ( Closure $adviceMethod )
unserializeAdvice ( array $adviceData )

Method Details

__construct() public méthode

public __construct ( $adviceMethod, $order, $pointcutExpression = '' )

invoke() public méthode

Implement this method to perform extra treatments before and after the invocation of joinpoint.
public invoke ( Go\Aop\Intercept\Joinpoint $joinpoint ) : mixed
$joinpoint Go\Aop\Intercept\Joinpoint current joinpoint
Résultat mixed the result of the call

serializeAdvice() public static méthode

public static serializeAdvice ( Closure $adviceMethod )
$adviceMethod Closure

unserializeAdvice() public static méthode

public static unserializeAdvice ( array $adviceData )
$adviceData array