Свойство | Тип | Описание | |
---|---|---|---|
$adviceChain | The advice chain for this join point | ||
$className | string | Class name of the target class this join point refers to | |
$exception | Exception | The exception thrown (only used for After Throwing advices) | |
$methodArguments | array | Array of method arguments which have been passed to the target method | |
$methodName | string | Method name of the target method which is about to or has been invoked | |
$proxy | object | A reference to the proxy object | |
$result | mixed | The result of the method invocations (only used for After Returning advices) |
Метод | Описание | |
---|---|---|
__construct ( object $proxy, string $className, string $methodName, array $methodArguments, |
Constructor, creates the join point | |
getAdviceChain ( ) : |
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 ( ) : mixed | 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 |
public __construct ( object $proxy, string $className, string $methodName, array $methodArguments, |
||
$proxy | object | Reference to the proxy class instance of the target class |
$className | string | Class name of the target class this join point refers to |
$methodName | string | Method name of the target method which is about to or has been invoked |
$methodArguments | array | Array of method arguments which have been passed to the target method |
$adviceChain | The advice chain for this join point | |
$result | mixed | The result of the method invocations (only used for After Returning advices) |
$exception | Exception | The exception thrown (only used for After Throwing advices) |
public getAdviceChain ( ) : |
||
Результат | The advice chain |
public getClassName ( ) : string | ||
Результат | string | The class name |
public getException ( ) : mixed | ||
Результат | mixed | The exception thrown or NULL |
public getMethodArgument ( string $argumentName ) : mixed | ||
$argumentName | string | Name of the argument |
Результат | mixed | Value of the argument |
public getMethodArguments ( ) : array | ||
Результат | array | Array of arguments |
public getMethodName ( ) : string | ||
Результат | string | The method name |
public getProxy ( ) : Neos\Flow\ObjectManagement\Proxy\ProxyInterface | ||
Результат | Neos\Flow\ObjectManagement\Proxy\ProxyInterface |
public hasException ( ) : boolean | ||
Результат | boolean |
public isMethodArgument ( string $argumentName ) : boolean | ||
$argumentName | string | Name of the argument to check |
Результат | boolean | TRUE if the argument exists |
protected AdviceChain,Neos\Flow\Aop\Advice $adviceChain | ||
Результат |
protected string $className | ||
Результат | string |
protected Exception $exception | ||
Результат | Exception |
protected array $methodArguments | ||
Результат | array |
protected string $methodName | ||
Результат | string |
protected mixed $result | ||
Результат | mixed |