ProcessState
The projection a {@see Reducer} folds a process instance's events into: the state it currently occupies, and the accumulated context (e.g. domain ids stamped at start) carried by those events. Never stored — always recomputed from the log, so two instances folding the same events always agree.
ProcessState::__construct()
public function __construct(string $currentState, array $context):Parameters
| Name | Type | Description |
|---|---|---|
| $currentState | string | the state name this projection landed on |
| $context | array<string, mixed> | accumulated event payload data (later keys override earlier ones) |