PHP Интерфейс Go\Aop\Intercept\MethodInvocation
A method invocation is a joinpoint and can be intercepted by a method
interceptor.
Показать файл
Открыть проект
Примеры использования интерфейса
Открытые методы
Метод |
Описание |
|
__invoke ( null | object | string $instance = null, array $arguments = [], array $variadicArguments = [] ) : mixed |
Invokes current method invocation with all interceptors |
|
getMethod ( ) : ReflectionMetho\ReflectionMethod | AnnotatedReflectionMethod |
Gets the method being called. |
|
Описание методов
__invoke()
публичный Метод
Invokes current method invocation with all interceptors
public __invoke ( null | object | string $instance = null, array $arguments = [], array $variadicArguments = [] ) : mixed |
$instance |
null | object | string |
Invocation instance (class name for static methods) |
$arguments |
array |
List of arguments for method invocation |
$variadicArguments |
array |
Additional list of variadic arguments |
Результат |
mixed |
Result of invocation |
getMethod()
публичный Метод
Gets the method being called.
public getMethod ( ) : ReflectionMetho\ReflectionMethod | AnnotatedReflectionMethod |
Результат |
ReflectionMetho\ReflectionMethod | Go\Aop\Support\AnnotatedReflectionMethod |
the method being called. |