PHP Interface Go\Aop\Intercept\FunctionInvocation

A function invocation is a joinpoint and can be intercepted by a function interceptor.
Inheritance: extends Go\Aop\Intercept\Invocation
Datei anzeigen Open project: goaop/framework Interface Usage Examples

Public Methods

Method Description
__invoke ( array $arguments = [], array $variadicArguments = [] ) : mixed Invokes current function invocation with all interceptors
getFunction ( ) : ReflectionFunction Gets the function being called.

Method Details

__invoke() public method

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
return mixed Result of invocation

getFunction() public method

Gets the function being called.
public getFunction ( ) : ReflectionFunction
return ReflectionFunction the function being called.