Durable Workflow PHP SDK

WorkflowExecution
in package

FinalYes

Table of Contents

Properties

$businessKey  : string|null
$closedAt  : string|null
$input  : mixed
$isTerminal  : bool|null
$memo  : array<string|int, mixed>|null
$namespace  : string|null
$output  : mixed
$raw  : array<string|int, mixed>
$runId  : string|null
$searchAttributes  : array<string|int, mixed>|null
$startedAt  : string|null
$status  : string|null
$statusBucket  : string|null
$taskQueue  : string|null
$workflowId  : string
$workflowType  : string

Methods

__construct()  : mixed
fromArray()  : self

Properties

$searchAttributes read-only

public array<string|int, mixed>|null $searchAttributes = null

Methods

__construct()

public __construct(string $workflowId, string|null $runId, string $workflowType, string|null $status, string|null $namespace, string|null $taskQueue, mixed $input, mixed $output, array<string, mixed> $raw[, string|null $businessKey = null ][, string|null $statusBucket = null ][, bool|null $isTerminal = null ][, string|null $startedAt = null ][, string|null $closedAt = null ][, array<string, mixed>|null $memo = null ][, array<string, mixed>|null $searchAttributes = null ]) : mixed
Parameters
$workflowId : string
$runId : string|null
$workflowType : string
$status : string|null
$namespace : string|null
$taskQueue : string|null
$input : mixed
$output : mixed
$raw : array<string, mixed>
$businessKey : string|null = null
$statusBucket : string|null = null
$isTerminal : bool|null = null
$startedAt : string|null = null
$closedAt : string|null = null
$memo : array<string, mixed>|null = null
$searchAttributes : array<string, mixed>|null = null

fromArray()

public static fromArray(array<string, mixed> $value[, string $fallbackWorkflowId = '' ][, string|null $fallbackRunId = null ][, mixed $input = null ][, mixed $output = null ]) : self
Parameters
$value : array<string, mixed>
$fallbackWorkflowId : string = ''
$fallbackRunId : string|null = null
$input : mixed = null
$output : mixed = null
Return values
self
On this page

Search results