PHP Класс Go\Aop\Framework\ReflectionFunctionInvocation

Наследование: extends AbstractInvocation, implements Go\Aop\Intercept\FunctionInvocation
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$reflectionFunction null | ReflectionFunctio\ReflectionFunction Instance of reflection function

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

Метод Описание
__construct ( string $functionName, array $advices ) Constructor for function invocation
__invoke ( array $arguments = [], array $variadicArguments = [] ) : mixed Invokes current function invocation with all interceptors
__toString ( ) : string Returns a friendly description of current joinpoint
getFunction ( ) : ReflectionFunction Gets the function being called.
getStaticPart ( ) : object Returns the static part of this joinpoint.
getThis ( ) : object | null Returns the object that holds the current joinpoint's static part.
proceed ( ) : mixed Invokes original function and return result from it

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

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

Constructor for function invocation
public __construct ( string $functionName, array $advices )
$functionName string Function to invoke
$advices array array List of advices for this invocation

__invoke() закрытый публичный Метод

Invokes current function invocation with all interceptors
final 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

__toString() закрытый публичный Метод

Returns a friendly description of current joinpoint
final public __toString ( ) : string
Результат string

getFunction() публичный Метод

Gets the function being called.
public getFunction ( ) : ReflectionFunction
Результат ReflectionFunction the method being called.

getStaticPart() публичный Метод

Returns the static part of this joinpoint.
public getStaticPart ( ) : object
Результат object

getThis() публичный Метод

Returns the object that holds the current joinpoint's static part.
public getThis ( ) : object | null
Результат object | null the object (can be null if the accessible object is static).

proceed() публичный Метод

Invokes original function and return result from it
public proceed ( ) : mixed
Результат mixed

Описание свойств

$reflectionFunction защищенное свойство

Instance of reflection function
protected null|ReflectionFunction,ReflectionFunctio $reflectionFunction
Результат null | ReflectionFunctio\ReflectionFunction