PHP Class Go\Stubs\BaseInterceptorMock

Inheritance: extends Go\Aop\Framework\BaseInterceptor
Datei anzeigen Open project: goaop/framework

Public Methods

Method 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 method

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

invoke() public method

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
return mixed the result of the call

serializeAdvice() public static method

public static serializeAdvice ( Closure $adviceMethod )
$adviceMethod Closure

unserializeAdvice() public static method

public static unserializeAdvice ( array $adviceData )
$adviceData array