QueryContext
in package
FinalYes
Immutable committed state supplied to query and update handlers.
Table of Contents
Properties
- $history : array<string|int, mixed>
- $runId : string
- $task : array<string|int, mixed>
- $workflowId : string
Methods
- __construct() : mixed
- events() : array<int, array<string, mixed>>
Properties
$history read-only
public
array<string|int, mixed>
$history
$runId read-only
public
string
$runId
$task read-only
public
array<string|int, mixed>
$task
$workflowId read-only
public
string
$workflowId
Methods
__construct()
public
__construct(string $workflowId, string $runId, array<int, array<string, mixed>> $history, array<string, mixed> $task) : mixed
Parameters
- $workflowId : string
- $runId : string
- $history : array<int, array<string, mixed>>
- $task : array<string, mixed>
events()
public
events(string $eventType) : array<int, array<string, mixed>>
Parameters
- $eventType : string