PHP 인터페이스 Go\Aop\Intercept\FunctionInvocation
A function invocation is a joinpoint and can be intercepted by a function
interceptor.
파일 보기
프로젝트 열기: goaop/framework
0 사용 예제들
공개 메소드들
메소드 |
설명 |
|
__invoke ( array $arguments = [], array $variadicArguments = [] ) : mixed |
Invokes current function invocation with all interceptors |
|
getFunction ( ) : ReflectionFunction |
Gets the function being called. |
|
메소드 상세
Invokes current function invocation with all interceptors
public __invoke ( array $arguments = [], array $variadicArguments = [] ) : mixed |
$arguments |
array |
List of arguments for function invocation |
$variadicArguments |
array |
Additional list of variadic arguments |
리턴 |
mixed |
Result of invocation |
Gets the function being called.
public getFunction ( ) : ReflectionFunction |
리턴 |
ReflectionFunction |
the function being called. |