TestWorkflowHandle
in package
implements
WorkflowHandleInterface
FinalYes
In-memory workflow handle returned by WorkflowClientFake.
Table of Contents
Interfaces
- WorkflowHandleInterface
- Workflow interactions shared by live and in-memory handles.
Properties
- $selectedRunId : string|null
- $workflowId : string
- $workflowType : string
- $client : WorkflowClientFake
Methods
- __construct() : mixed
- query() : mixed
- result() : mixed
- signal() : void
- update() : mixed
Properties
$selectedRunId read-only
public
string|null
$selectedRunId
= null
$workflowId read-only
public
string
$workflowId
$workflowType read-only
public
string
$workflowType
= ''
$client read-only
private
WorkflowClientFake
$client
Methods
__construct()
public
__construct(WorkflowClientFake $client, string $workflowId[, string $workflowType = '' ][, string|null $selectedRunId = null ]) : mixed
Parameters
- $client : WorkflowClientFake
- $workflowId : string
- $workflowType : string = ''
- $selectedRunId : string|null = null
query()
public
query(string $name[, array<int, mixed> $arguments = [] ]) : mixed
Parameters
- $name : string
- $arguments : array<int, mixed> = []
result()
public
result([float $timeoutSeconds = 30.0 ][, float $pollIntervalSeconds = 0.5 ]) : mixed
Parameters
- $timeoutSeconds : float = 30.0
- $pollIntervalSeconds : float = 0.5
signal()
public
signal(string $name[, array<int, mixed> $arguments = [] ]) : void
Parameters
- $name : string
- $arguments : array<int, mixed> = []
update()
public
update(string $name[, array<int, mixed> $arguments = [] ][, string $waitFor = 'completed' ][, int|null $waitTimeoutSeconds = null ][, string|null $requestId = null ]) : mixed
Parameters
- $name : string
- $arguments : array<int, mixed> = []
- $waitFor : string = 'completed'
- $waitTimeoutSeconds : int|null = null
- $requestId : string|null = null