PHP 클래스 Go\Aop\Framework\ReflectionFunctionInvocation

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

보호된 프로퍼티들

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