Documentation

WorkflowOutboundRequestInterceptorTrait

Trait that provides a default interceptor implementation.

Tags
see
WorkflowOutboundRequestInterceptor

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
see
WorkflowOutboundRequestInterceptor::handleOutboundRequest()
Return values
PromiseInterface

cancelExternalWorkflowRequest()

private cancelExternalWorkflowRequest(CancelExternalWorkflow $request, callable(CancelExternalWorkflow): PromiseInterface $next) : PromiseInterface
Parameters
$request : CancelExternalWorkflow
$next : callable(CancelExternalWorkflow): PromiseInterface
Return values
PromiseInterface

cancelRequest()

private cancelRequest(Cancel $request, callable(Cancel): PromiseInterface $next) : PromiseInterface
Parameters
$request : Cancel
$next : callable(Cancel): PromiseInterface
Return values
PromiseInterface

completeWorkflowRequest()

private completeWorkflowRequest(CompleteWorkflow $request, callable(CompleteWorkflow): PromiseInterface $next) : PromiseInterface
Parameters
$request : CompleteWorkflow
$next : callable(CompleteWorkflow): PromiseInterface
Return values
PromiseInterface

continueAsNewRequest()

private continueAsNewRequest(ContinueAsNew $request, callable(ContinueAsNew): PromiseInterface $next) : PromiseInterface
Parameters
$request : ContinueAsNew
$next : callable(ContinueAsNew): PromiseInterface
Return values
PromiseInterface

executeActivityRequest()

private executeActivityRequest(ExecuteActivity $request, callable(ExecuteActivity): PromiseInterface $next) : PromiseInterface
Parameters
$request : ExecuteActivity
$next : callable(ExecuteActivity): PromiseInterface
Return values
PromiseInterface

executeChildWorkflowRequest()

private executeChildWorkflowRequest(ExecuteChildWorkflow $request, callable(ExecuteChildWorkflow): PromiseInterface $next) : PromiseInterface
Parameters
$request : ExecuteChildWorkflow
$next : callable(ExecuteChildWorkflow): PromiseInterface
Return values
PromiseInterface

executeLocalActivityRequest()

private executeLocalActivityRequest(ExecuteLocalActivity $request, callable(ExecuteLocalActivity): PromiseInterface $next) : PromiseInterface
Parameters
$request : ExecuteLocalActivity
$next : callable(ExecuteLocalActivity): PromiseInterface
Return values
PromiseInterface

getVersionRequest()

private getVersionRequest(GetVersion $request, callable(GetVersion): PromiseInterface $next) : PromiseInterface
Parameters
$request : GetVersion
$next : callable(GetVersion): PromiseInterface
Return values
PromiseInterface

newTimerRequest()

private newTimerRequest(NewTimer $request, callable(NewTimer): PromiseInterface $next) : PromiseInterface
Parameters
$request : NewTimer
$next : callable(NewTimer): PromiseInterface
Return values
PromiseInterface

panicRequest()

private panicRequest(Panic $request, callable(Panic): PromiseInterface $next) : PromiseInterface
Parameters
$request : Panic
$next : callable(Panic): PromiseInterface
Return values
PromiseInterface

sideEffectRequest()

private sideEffectRequest(SideEffect $request, callable(SideEffect): PromiseInterface $next) : PromiseInterface
Parameters
$request : SideEffect
$next : callable(SideEffect): PromiseInterface
Return values
PromiseInterface

signalExternalWorkflowRequest()

private signalExternalWorkflowRequest(SignalExternalWorkflow $request, callable(SignalExternalWorkflow): PromiseInterface $next) : PromiseInterface
Parameters
$request : SignalExternalWorkflow
$next : callable(SignalExternalWorkflow): PromiseInterface
Return values
PromiseInterface

upsertSearchAttributesRequest()

private upsertSearchAttributesRequest(UpsertSearchAttributes $request, callable(UpsertSearchAttributes): PromiseInterface $next) : PromiseInterface
Parameters
$request : UpsertSearchAttributes
$next : callable(UpsertSearchAttributes): PromiseInterface
Return values
PromiseInterface

        
On this page

Search results