PHP 인터페이스 Go\Aop\Intercept\MethodInvocation

A method invocation is a joinpoint and can be intercepted by a method interceptor.
상속: extends Go\Aop\Intercept\Invocation
파일 보기 프로젝트 열기: goaop/framework 0 사용 예제들

공개 메소드들

메소드 설명
__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.