Property | Type | Description | |
---|---|---|---|
$adviceMethodName | string | Contains the name of the advice method | |
$aspectObjectName | string | Holds the name of the aspect object containing the advice | |
$dispatcher | A reference to the SignalSlot Dispatcher | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | A reference to the Object Manager | |
$runtimeEvaluationsDefinition | array | Runtime evaluations definition array | |
$runtimeEvaluator | Closure | Runtime evaluations function |
Method | Description | |
---|---|---|
__construct ( string $aspectObjectName, string $adviceMethodName, Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager = null, Closure $runtimeEvaluator = null ) | Constructor | |
getAdviceMethodName ( ) : string | Returns the advice's method name which has been passed to the constructor | |
getAspectObjectName ( ) : string | Returns the aspect's object name which has been passed to the constructor | |
invoke ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : mixed | Invokes the advice method |
Method | Description | |
---|---|---|
emitAdviceInvoked ( object $aspectObject, string $methodName, Neos\Flow\Aop\JoinPointInterface $joinPoint ) : void | Emits a signal when an Advice is invoked |
public __construct ( string $aspectObjectName, string $adviceMethodName, Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager = null, Closure $runtimeEvaluator = null ) | ||
$aspectObjectName | string | Name of the aspect object containing the advice |
$adviceMethodName | string | Name of the advice method |
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | Only require if a runtime evaluations function is specified |
$runtimeEvaluator | Closure | Runtime evaluations function |
public getAdviceMethodName ( ) : string | ||
return | string | The name of the advice method |
public getAspectObjectName ( ) : string | ||
return | string | The object name of the aspect |
protected string $adviceMethodName | ||
return | string |
protected string $aspectObjectName | ||
return | string |
protected Dispatcher,Neos\Flow\SignalSlot $dispatcher | ||
return |
protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager | ||
return | Neos\Flow\ObjectManagement\ObjectManagerInterface |
protected array $runtimeEvaluationsDefinition | ||
return | array |
protected Closure $runtimeEvaluator | ||
return | Closure |