ExecutionState
Mutable per-execution state for one action execution.
Synopsis
Section titled “Synopsis”final class ExecutionState
| Source | Execution/ExecutionState.php |
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
$action | ?``string | |
$actionAttributes | array | |
$cacheHit | bool | |
$forwardCount | int | |
$forwarded | bool | |
$metrics | ?``array | |
$module | ?``string | |
$outputType | ?``string | |
$securityDecision | ?SecurityDecision | |
$validationDecision | ?ValidationDecision | |
$viewModule | ?``string | |
$viewName | ?``string |
Constructor
Section titled “Constructor”__construct()
Section titled “__construct()”public function __construct(?string $viewModule = null, ?string $viewName = null, array<string, mixed> $actionAttributes = [], bool $cacheHit = false, ?SecurityDecision $securityDecision = null, bool $forwarded = false, ?ValidationDecision $validationDecision = null, int $forwardCount = 0, ?string $module = null, ?string $action = null, ?string $outputType = null, ?array<string, mixed> $metrics = null): mixed
| Parameter | Type | Description |
|---|---|---|
$viewModule | ?``string | |
$viewName | ?``string | |
$actionAttributes | array``<``string``, ``mixed``> | |
$cacheHit | bool | |
$securityDecision | ?SecurityDecision | |
$forwarded | bool | |
$validationDecision | ?ValidationDecision | |
$forwardCount | int | |
$module | ?``string | |
$action | ?``string | |
$outputType | ?``string | |
$metrics | ?``array``<``string``, ``mixed``> |
Returns mixed