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).
Synopsis
Section titled “Synopsis”final class ActionAfterEvent extends Event
| Extends | Event |
| Source | Event/Lifecycle/ActionAfterEvent.php |
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
$descriptor | ActionDescriptor | readonly. |
$result | ActionExecutionContext | readonly. |
Constructor
Section titled “Constructor”__construct()
Section titled “__construct()”public function __construct(ActionDescriptor $descriptor, ActionExecutionContext $result): mixed
| Parameter | Type | Description |
|---|---|---|
$descriptor | ActionDescriptor | |
$result | ActionExecutionContext |
Returns mixed