Temporal Docs PHP SDK API Version 2.21 (latest release) Release notes

Documentation

Workflow

Table of Contents

Interfaces

ActivityStubInterface
CancellationScopeInterface
ChildWorkflowStubInterface
ExternalWorkflowStubInterface
ProcessInterface
ScopedContextInterface
Handles scope creation.
WorkflowContextInterface
WorkflowRunInterface
Represents a running workflow execution. Can be used to wait for the completion result or error.

Classes

AwaitOptions
Options for {@see Workflow::awaitWithTimeout()}.
ChildWorkflowOptions
ContinueAsNewOptions
Mutex
If a mutex is yielded without calling `lock()`, the Workflow will continue only when the lock is released.
PendingActivityInfo
DTO that contains information about a pending activity of a Workflow Execution.
PendingActivityOptions
Current activity options as reported for a pending activity. May differ from the options used to start the activity.
PendingActivityPauseInfo
Information about why and when a pending activity was paused.
PendingActivityPauseInfoManual
Activity was paused by manual intervention.
PendingActivityPauseInfoRule
Activity was paused by a rule.
PendingActivityRetryPolicy
Retry policy as reported for a pending activity.
QueryMethod
Indicates that the method is a query method. Query method can be used to query a workflow state by external process at any time during its execution.
ResetPointInfo
ReturnType
Saga
SignalMethod
Indicates that the method is a signal handler method. Signal method is executed when workflow receives signal. This annotation applies only to workflow interface methods.
TimerOptions
TimerOptions is used to specify options for a timer.
UpdateContext
UpdateMethod
Indicates that the method is an update handler method.
UpdateValidatorMethod
Indicates that the method is an update validator handle. An update validator handle is associated with an update method and runs before the associated update handle. If the update validator throws an exception, the update handle is not called and the update is not persisted in history.
WorkflowExecution
Workflow Execution DTO.
WorkflowExecutionConfig
DTO that contains basic information about Workflow Execution.
WorkflowExecutionInfo
DTO that contains basic information about Workflow Execution.
WorkflowInfo
WorkflowInit
Marks a Workflow constructor to be executed with the {@see WorkflowMethod} arguments.
WorkflowInterface
Marks a class or interface as a Workflow.
WorkflowMethod
WorkflowStub
Helper class used to convert typed workflow stubs to their untyped alternatives to gain access to cancel() and terminate() methods.
WorkflowType
WorkflowType identifies a workflow type.
WorkflowVersioningBehavior
Indicates the versioning behavior of the Workflow.

Enums

ChildWorkflowCancellationType
Defines the behavior of the parent workflow when a CancellationScope that wraps child workflow execution request is canceled.
HandlerUnfinishedPolicy
Actions taken if a workflow terminates with running handlers.
ParentClosePolicy
PendingActivityState
Pending activity state.
WorkflowExecutionStatus
Workflow execution status.
On this page

Search results