ActivitySerializationContext
in package
implements
HasWorkflowSerializationContext
FinalYes
Table of Contents
Interfaces
Properties
- $activityType : string
- $isLocal : bool
- $namespace : string
- $taskQueue : string
- $workflowId : string|null
- $workflowType : string|null
Methods
- __construct() : mixed
- fromActivityInfo() : self
- getNamespace() : string
- getWorkflowId() : string|null
Properties
$activityType read-only
public
string
$activityType
$isLocal read-only
public
bool
$isLocal
= false
$namespace read-only
public
string
$namespace
$taskQueue read-only
public
string
$taskQueue
$workflowId read-only
public
string|null
$workflowId
= null
$workflowType read-only
public
string|null
$workflowType
= null
Methods
__construct()
public
__construct(string $namespace, string $activityType, string $taskQueue[, string|null $workflowId = null ][, string|null $workflowType = null ][, bool $isLocal = false ]) : mixed
Parameters
- $namespace : string
- $activityType : string
- $taskQueue : string
- $workflowId : string|null = null
- $workflowType : string|null = null
- $isLocal : bool = false
fromActivityInfo()
public
static fromActivityInfo(ActivityInfo $info, bool $isLocal) : self
Parameters
- $info : ActivityInfo
- $isLocal : bool
Return values
selfgetNamespace()
public
getNamespace() : string
Return values
stringgetWorkflowId()
public
getWorkflowId() : string|null