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

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

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

Свойство Тип Описание
$class ReflectionClass Reflection class
$instance object | null Instance of created class, can be used for Around or After types of advices

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

Метод Описание
__construct ( string $className, string $type, array $advices ) Constructor for constructor invocation :)
__invoke ( array $arguments = [] ) : mixed Invokes current constructor invocation with all interceptors
__toString ( ) : string Returns a friendly description of current joinpoint
getConstructor ( ) : ReflectionMetho\ReflectionMethod | null Gets the constructor being called.
getStaticPart ( ) : null | ReflectionMetho\ReflectionMethod Returns the static part of this joinpoint.
getThis ( ) : object | null Returns the object that holds the current joinpoint's static part.
proceed ( ) : mixed Proceed to the next interceptor in the Chain

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

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

Constructor for constructor invocation :)
public __construct ( string $className, string $type, array $advices )
$className string Class name
$type string
$advices array array List of advices for this invocation

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

Invokes current constructor invocation with all interceptors
final public __invoke ( array $arguments = [] ) : mixed
$arguments array
Результат mixed

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

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

getConstructor() публичный метод

Gets the constructor being called.
public getConstructor ( ) : ReflectionMetho\ReflectionMethod | null
Результат ReflectionMetho\ReflectionMethod | null the constructor being called or null if it is absent.

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

Returns the static part of this joinpoint.
public getStaticPart ( ) : null | ReflectionMetho\ReflectionMethod
Результат null | ReflectionMetho\ReflectionMethod

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() закрытый публичный метод

Typically this method is called inside previous closure, as instance of Joinpoint is passed to callback Do not call this method directly, only inside callback closures.
final public proceed ( ) : mixed
Результат mixed

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

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

Reflection class
protected ReflectionClass $class
Результат ReflectionClass

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

Instance of created class, can be used for Around or After types of advices
protected object|null $instance
Результат object | null