Timeline
implements
JsonSerializable
Table of Contents
Interfaces
- JsonSerializable
Methods
-
__construct()
: mixed
-
createByWorkflowId()
: static|null
-
getExecutionTime()
: int|null
-
getTasks()
: array<string|int, TimelineTask>
-
getTimeToStart()
: int|null
-
getWorkflowState()
: WorkflowState
-
jsonSerialize()
: array<string|int, mixed>
-
setUserId()
: static
__construct()
public
__construct(WorkflowState $workflow) : mixed
Parameters
-
$workflow
: WorkflowState
-
createByWorkflowId()
public
static createByWorkflowId(string $workflowId) : static|null
Parameters
-
$workflowId
: string
-
Return values
static|null
getExecutionTime()
public
getExecutionTime() : int|null
getTasks()
public
getTasks() : array<string|int, TimelineTask>
getTimeToStart()
public
getTimeToStart() : int|null
getWorkflowState()
public
getWorkflowState() : WorkflowState
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
setUserId()
public
setUserId(int $userId) : static
Parameters
-
$userId
: int
-