Durable Workflow PHP SDK — API Reference

Guides

Worker

Table of Contents

Classes

ActivityContext
Activity attempt metadata and heartbeat/cancellation support.
CancelDurableOperationCommand
CancellationContext
Immutable root request and cleanup budget read from canonical history.
CancellationDelivery
The durable authored call at which the Server committed cancellation delivery.
CancellationHistory
Observations identify a request. Only canonical history can authorize its delivery.
CancellationRequest
Server-owned request identity, deadline and opaque history refresh location.
CapabilityManifest
Truthful feature-by-feature manifest sent with every managed worker registration.
DeferredWorkflowOperation
One durable operation prepared for a {@see WorkflowContext::all()} barrier.
DurableOperationHandle
HandlerResolver
Resolves class-oriented handlers through PSR-11 or a no-container default.
MessageStream
Replay-safe receiver for repeated, ordered workflow input.
MessageStreamMessage
One server-ordered message consumed from a durable named stream.
PollResponse
Classifies full worker poll response envelopes using protocol fields.
QueryContext
Immutable committed state supplied to query and update handlers.
Replayer
Re-executes a straight-line workflow Fiber against committed, sequence-ordered history.
ReplayResult
Saga
Registers activity compensations and replays them in deterministic reverse order.
ScopedCancellationContext
Immutable original scope ancestry carried by a candidate cooperative child request.
SelectionResult
StickyWorkflowCache
Bounded process-local cache keyed by exact workflow/run/build identity.
WorkerSession
Typed create/use/renew/close handle for one worker-held session lease.
WorkerSessionOptions
Typed worker-session routing and lease options for activity commands.
WorkflowCommand
A replayable command emitted when straight-line workflow code suspends.
WorkflowContext
Straight-line deterministic operations available while a workflow Fiber is replayed.

Enums

CancellationPolicy
What an awaiting workflow does when cancellation reaches its operation.
ParentClosePolicy
What happens to an open child after its parent closes.
On this page

Search results