Skip to content

ActionAfterEvent

Emitted by ActionExecutor::execute() after an action (and its view) have run, carrying the resulting execution context.

Not emitted when the action throws (the exception propagates instead).

final class ActionAfterEvent extends Event

ExtendsEvent
SourceEvent/Lifecycle/ActionAfterEvent.php
PropertyTypeDescription
$descriptorActionDescriptorreadonly.
$resultActionExecutionContextreadonly.

public function __construct(ActionDescriptor $descriptor, ActionExecutionContext $result): mixed

ParameterTypeDescription
$descriptorActionDescriptor
$resultActionExecutionContext

Returns mixed