PHP Interface Neos\Flow\Aop\JoinPointInterface

Afficher le fichier Open project: neos/flow-development-collection Interface Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

getAdviceChain() public méthode

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

getClassName() public méthode

Returns the class name of the target class this join point refers to
public getClassName ( ) : string
Résultat string The class name

getException() public méthode

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

getMethodArgument() public méthode

Returns the value of the specified method argument
public getMethodArgument ( string $argumentName ) : mixed
$argumentName string Name of the argument
Résultat mixed Value of the argument

getMethodArguments() public méthode

Returns an array of arguments which have been passed to the target method
public getMethodArguments ( ) : array
Résultat array Array of arguments

getMethodName() public méthode

Returns the method name of the method this join point refers to
public getMethodName ( ) : string
Résultat string The method name

getProxy() public méthode

Returns the reference to the proxy class instance
public getProxy ( ) : Neos\Flow\ObjectManagement\Proxy\ProxyInterface
Résultat Neos\Flow\ObjectManagement\Proxy\ProxyInterface

getResult() public méthode

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

hasException() public méthode

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

isMethodArgument() public méthode

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
Résultat boolean TRUE if the argument exists

setMethodArgument() public méthode

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
Résultat void