PHP 클래스 Go\Aop\Framework\ReflectionConstructorInvocation

상속: extends AbstractInvocation, implements Go\Aop\Intercept\ConstructorInvocation
파일 보기 프로젝트 열기: goaop/framework

보호된 프로퍼티들

프로퍼티 타입 설명
$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