WorkflowOutboundRequestInterceptorTrait
Trait that provides a default interceptor implementation.
Tags
Table of Contents
Methods
- handleOutboundRequest() : PromiseInterface
- Default implementation of the `handleOutboundRequest` method.
- cancelExternalWorkflowRequest() : PromiseInterface
- cancelRequest() : PromiseInterface
- completeWorkflowRequest() : PromiseInterface
- continueAsNewRequest() : PromiseInterface
- executeActivityRequest() : PromiseInterface
- executeChildWorkflowRequest() : PromiseInterface
- executeLocalActivityRequest() : PromiseInterface
- getVersionRequest() : PromiseInterface
- newTimerRequest() : PromiseInterface
- panicRequest() : PromiseInterface
- sideEffectRequest() : PromiseInterface
- signalExternalWorkflowRequest() : PromiseInterface
- upsertSearchAttributesRequest() : PromiseInterface
Methods
handleOutboundRequest()
Default implementation of the `handleOutboundRequest` method.
public
final handleOutboundRequest(RequestInterface $request, callable $next) : PromiseInterface
Parameters
- $request : RequestInterface
- $next : callable
Tags
Return values
PromiseInterfacecancelExternalWorkflowRequest()
private
cancelExternalWorkflowRequest(CancelExternalWorkflow $request, callable(CancelExternalWorkflow): PromiseInterface $next) : PromiseInterface
Parameters
- $request : CancelExternalWorkflow
- $next : callable(CancelExternalWorkflow): PromiseInterface
Return values
PromiseInterfacecancelRequest()
private
cancelRequest(Cancel $request, callable(Cancel): PromiseInterface $next) : PromiseInterface
Parameters
- $request : Cancel
- $next : callable(Cancel): PromiseInterface
Return values
PromiseInterfacecompleteWorkflowRequest()
private
completeWorkflowRequest(CompleteWorkflow $request, callable(CompleteWorkflow): PromiseInterface $next) : PromiseInterface
Parameters
- $request : CompleteWorkflow
- $next : callable(CompleteWorkflow): PromiseInterface
Return values
PromiseInterfacecontinueAsNewRequest()
private
continueAsNewRequest(ContinueAsNew $request, callable(ContinueAsNew): PromiseInterface $next) : PromiseInterface
Parameters
- $request : ContinueAsNew
- $next : callable(ContinueAsNew): PromiseInterface
Return values
PromiseInterfaceexecuteActivityRequest()
private
executeActivityRequest(ExecuteActivity $request, callable(ExecuteActivity): PromiseInterface $next) : PromiseInterface
Parameters
- $request : ExecuteActivity
- $next : callable(ExecuteActivity): PromiseInterface
Return values
PromiseInterfaceexecuteChildWorkflowRequest()
private
executeChildWorkflowRequest(ExecuteChildWorkflow $request, callable(ExecuteChildWorkflow): PromiseInterface $next) : PromiseInterface
Parameters
- $request : ExecuteChildWorkflow
- $next : callable(ExecuteChildWorkflow): PromiseInterface
Return values
PromiseInterfaceexecuteLocalActivityRequest()
private
executeLocalActivityRequest(ExecuteLocalActivity $request, callable(ExecuteLocalActivity): PromiseInterface $next) : PromiseInterface
Parameters
- $request : ExecuteLocalActivity
- $next : callable(ExecuteLocalActivity): PromiseInterface
Return values
PromiseInterfacegetVersionRequest()
private
getVersionRequest(GetVersion $request, callable(GetVersion): PromiseInterface $next) : PromiseInterface
Parameters
- $request : GetVersion
- $next : callable(GetVersion): PromiseInterface
Return values
PromiseInterfacenewTimerRequest()
private
newTimerRequest(NewTimer $request, callable(NewTimer): PromiseInterface $next) : PromiseInterface
Parameters
- $request : NewTimer
- $next : callable(NewTimer): PromiseInterface
Return values
PromiseInterfacepanicRequest()
private
panicRequest(Panic $request, callable(Panic): PromiseInterface $next) : PromiseInterface
Parameters
- $request : Panic
- $next : callable(Panic): PromiseInterface
Return values
PromiseInterfacesideEffectRequest()
private
sideEffectRequest(SideEffect $request, callable(SideEffect): PromiseInterface $next) : PromiseInterface
Parameters
- $request : SideEffect
- $next : callable(SideEffect): PromiseInterface
Return values
PromiseInterfacesignalExternalWorkflowRequest()
private
signalExternalWorkflowRequest(SignalExternalWorkflow $request, callable(SignalExternalWorkflow): PromiseInterface $next) : PromiseInterface
Parameters
- $request : SignalExternalWorkflow
- $next : callable(SignalExternalWorkflow): PromiseInterface
Return values
PromiseInterfaceupsertSearchAttributesRequest()
private
upsertSearchAttributesRequest(UpsertSearchAttributes $request, callable(UpsertSearchAttributes): PromiseInterface $next) : PromiseInterface
Parameters
- $request : UpsertSearchAttributes
- $next : callable(UpsertSearchAttributes): PromiseInterface