Copied!

BeforeExecuteEvent

BeforeExecuteEvent.php : 18
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeExecuteEvent.php : 28
public __construct(ActionInterface $action, ActionConfigurationInterface|null $actionConfiguration, ActionHandlerInterface|null $handler[, ActionResponseInterface|null $actionResponseResult = null ])

Parameters

Name Type Default value Description
$action ActionInterface - -
$actionConfiguration ActionConfigurationInterface|null - -
$handler ActionHandlerInterface|null - -
$actionResponseResult ActionResponseInterface|null null -

publicgetAction()

BeforeExecuteEvent.php : 40
public getAction() : ActionInterface

Return values

ActionInterface

publicgetActionConfiguration()

BeforeExecuteEvent.php : 45
public getActionConfiguration() : ActionConfigurationInterface|null

Return values

ActionConfigurationInterface|null

publicgetActionResponseResult()

BeforeExecuteEvent.php : 55
public getActionResponseResult() : ActionResponseInterface

Return values

ActionResponseInterface

publicgetHandler()

BeforeExecuteEvent.php : 50
public getHandler() : ActionHandlerInterface|null

Return values

ActionHandlerInterface|null

publichasActionResponseResult()

BeforeExecuteEvent.php : 71
public hasActionResponseResult() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetActionResponseResult()

BeforeExecuteEvent.php : 66
public setActionResponseResult(ActionResponseInterface|null $actionResponseResult) : void

Parameters

Name Type Default value Description
$actionResponseResult ActionResponseInterface|null - -

publicstopPropagation()

Event.php : 50

Stops the propagation of the event to further event listeners.

public stopPropagation() : void

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().