PHP 인터페이스 Neos\Flow\Aop\JoinPointInterface

파일 보기 프로젝트 열기: neos/flow-development-collection 0 사용 예제들

공개 메소드들

메소드 설명
getAdviceChain ( ) : AdviceChain Returns the advice chain related to this join point
getClassName ( ) : string Returns the class name of the target class this join point refers to
getException ( ) : Exception Returns the exception which has been thrown in the target method.
getMethodArgument ( string $argumentName ) : mixed Returns the value of the specified method argument
getMethodArguments ( ) : array Returns an array of arguments which have been passed to the target method
getMethodName ( ) : string Returns the method name of the method this join point refers to
getProxy ( ) : Neos\Flow\ObjectManagement\Proxy\ProxyInterface Returns the reference to the proxy class instance
getResult ( ) : mixed Returns the result of the method invocation. The result is only available for AfterReturning advices.
hasException ( ) : boolean If an exception was thrown by the target method Only makes sense for After Throwing advices.
isMethodArgument ( string $argumentName ) : boolean Returns TRUE if the argument with the specified name exists in the method call this joinpoint refers to.
setMethodArgument ( string $argumentName, mixed $argumentValue ) : void Sets the value of the specified method argument

메소드 상세

getAdviceChain() 공개 메소드

Returns the advice chain related to this join point
public getAdviceChain ( ) : AdviceChain
리턴 Neos\Flow\Aop\Advice\AdviceChain The advice chain

getClassName() 공개 메소드

Returns the class name of the target class this join point refers to
public getClassName ( ) : string
리턴 string The class name

getException() 공개 메소드

If no exception has been thrown, NULL is returned. Only makes sense for After Throwing advices.
public getException ( ) : Exception
리턴 Exception The exception thrown or NULL

getMethodArgument() 공개 메소드

Returns the value of the specified method argument
public getMethodArgument ( string $argumentName ) : mixed
$argumentName string Name of the argument
리턴 mixed Value of the argument

getMethodArguments() 공개 메소드

Returns an array of arguments which have been passed to the target method
public getMethodArguments ( ) : array
리턴 array Array of arguments

getMethodName() 공개 메소드

Returns the method name of the method this join point refers to
public getMethodName ( ) : string
리턴 string The method name

getProxy() 공개 메소드

Returns the reference to the proxy class instance
public getProxy ( ) : Neos\Flow\ObjectManagement\Proxy\ProxyInterface
리턴 Neos\Flow\ObjectManagement\Proxy\ProxyInterface

getResult() 공개 메소드

Returns the result of the method invocation. The result is only available for AfterReturning advices.
public getResult ( ) : mixed
리턴 mixed Result of the method invocation

hasException() 공개 메소드

If an exception was thrown by the target method Only makes sense for After Throwing advices.
public hasException ( ) : boolean
리턴 boolean

isMethodArgument() 공개 메소드

Returns TRUE if the argument with the specified name exists in the method call this joinpoint refers to.
public isMethodArgument ( string $argumentName ) : boolean
$argumentName string Name of the argument to check
리턴 boolean TRUE if the argument exists

setMethodArgument() 공개 메소드

Sets the value of the specified method argument
public setMethodArgument ( string $argumentName, mixed $argumentValue ) : void
$argumentName string Name of the argument
$argumentValue mixed Value of the argument
리턴 void