PHP Класс Neos\Flow\Aop\JoinPoint

Наследование: implements Neos\Flow\Aop\JoinPointInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$adviceChain Neos\Flow\Aop\Advice\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, AdviceChain $adviceChain = null, mixed $result = null, Exception $exception = null ) Constructor, creates the join point
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 ( ) : 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

Описание методов

__construct() публичный Метод

Constructor, creates the join point
public __construct ( object $proxy, string $className, string $methodName, array $methodArguments, AdviceChain $adviceChain = null, mixed $result = null, Exception $exception = null )
$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 Neos\Flow\Aop\Advice\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)

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 ( ) : mixed
Результат mixed 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

Описание свойств

$adviceChain защищенное свойство

The advice chain for this join point
protected AdviceChain,Neos\Flow\Aop\Advice $adviceChain
Результат Neos\Flow\Aop\Advice\AdviceChain

$className защищенное свойство

Class name of the target class this join point refers to
protected string $className
Результат string

$exception защищенное свойство

The exception thrown (only used for After Throwing advices)
protected Exception $exception
Результат Exception

$methodArguments защищенное свойство

Array of method arguments which have been passed to the target method
protected array $methodArguments
Результат array

$methodName защищенное свойство

Method name of the target method which is about to or has been invoked
protected string $methodName
Результат string

$proxy защищенное свойство

A reference to the proxy object
protected object $proxy
Результат object

$result защищенное свойство

The result of the method invocations (only used for After Returning advices)
protected mixed $result
Результат mixed