PHP Интерфейс Neos\Flow\Aop\JoinPointInterface

Показать файл Открыть проект Примеры использования интерфейса

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

Метод Описание
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