ActionExecutionContext
Lightweight DTO for container-less slot execution path.
Synopsis
Section titled “Synopsis”class ActionExecutionContext
| Source | Execution/ActionExecutionContext.php |
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
$action | Action | readonly. |
$actionAttributes | array | readonly. |
$actionName | string | readonly. |
$attributeBag | ?AttributeBag | readonly. |
$content | string | readonly. |
$module | string | readonly. |
$outputType | string | readonly. |
$redirect | ?``array | readonly. |
$request | WebRequest | readonly. |
$responseHandle | ?ResponseHandle | readonly. |
$view | ?View | |
$viewModuleName | ?``string | readonly. |
$viewName | ?``string | readonly. |
Constructor
Section titled “Constructor”__construct()
Section titled “__construct()”public function __construct(Action $action, ?View $view, string $module, string $actionName, string $outputType, WebRequest $request, string $content, ?string $viewModuleName = null, ?string $viewName = null, array<string, mixed> $actionAttributes = [], ?AttributeBag $attributeBag = null, ?ResponseHandle $responseHandle = null, array<string, mixed>|null $redirect = null): mixed
| Parameter | Type | Description |
|---|---|---|
$action | Action | |
$view | ?View | |
$module | string | |
$actionName | string | |
$outputType | string | |
$request | WebRequest | |
$content | string | |
$viewModuleName | ?``string | |
$viewName | ?``string | |
$actionAttributes | array``<``string``, ``mixed``> | |
$attributeBag | ?AttributeBag | |
$responseHandle | ?ResponseHandle | |
$redirect | `array<string, mixed> | “null` |
Returns mixed