PHP Класс Go\Stubs\BaseInterceptorMock

Наследование: extends Go\Aop\Framework\BaseInterceptor
Показать файл Открыть проект

Открытые методы

Метод Описание
__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 )

Описание методов

__construct() публичный метод

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

invoke() публичный метод

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
Результат mixed the result of the call

serializeAdvice() публичный статический метод

public static serializeAdvice ( Closure $adviceMethod )
$adviceMethod Closure

unserializeAdvice() публичный статический метод

public static unserializeAdvice ( array $adviceData )
$adviceData array