WorkflowClientCallsInterceptorTrait
Trait that provides a default interceptor implementation.
Tags
Table of Contents
Methods
- cancel() : void
- Default implementation of the `cancel` method.
- describe() : WorkflowExecutionDescription
- Default implementation of the `describe` method.
- getResult() : EncodedValues|null
- Default implementation of the `getResult` method.
- query() : EncodedValues|null
- Default implementation of the `query` method.
- signal() : void
- Default implementation of the `signal` method.
- signalWithStart() : WorkflowExecution
- Default implementation of the `signalWithStart` method.
- start() : WorkflowExecution
- Default implementation of the `start` method.
- terminate() : void
- Default implementation of the `terminate` method.
- update() : StartUpdateOutput
- Default implementation of the `update` method.
Methods
cancel()
Default implementation of the `cancel` method.
public
cancel(CancelInput $input, callable $next) : void
Parameters
- $input : CancelInput
- $next : callable
Tags
describe()
Default implementation of the `describe` method.
public
describe(DescribeInput $input, callable $next) : WorkflowExecutionDescription
Parameters
- $input : DescribeInput
- $next : callable
Tags
Return values
WorkflowExecutionDescriptiongetResult()
Default implementation of the `getResult` method.
public
getResult(GetResultInput $input, callable $next) : EncodedValues|null
Parameters
- $input : GetResultInput
- $next : callable
Tags
Return values
EncodedValues|nullquery()
Default implementation of the `query` method.
public
query(QueryInput $input, callable $next) : EncodedValues|null
Parameters
- $input : QueryInput
- $next : callable
Tags
Return values
EncodedValues|nullsignal()
Default implementation of the `signal` method.
public
signal(SignalInput $input, callable $next) : void
Parameters
- $input : SignalInput
- $next : callable
Tags
signalWithStart()
Default implementation of the `signalWithStart` method.
public
signalWithStart(SignalWithStartInput $input, callable $next) : WorkflowExecution
Parameters
- $input : SignalWithStartInput
- $next : callable
Tags
Return values
WorkflowExecutionstart()
Default implementation of the `start` method.
public
start(StartInput $input, callable $next) : WorkflowExecution
Parameters
- $input : StartInput
- $next : callable
Tags
Return values
WorkflowExecutionterminate()
Default implementation of the `terminate` method.
public
terminate(TerminateInput $input, callable $next) : void
Parameters
- $input : TerminateInput
- $next : callable
Tags
update()
Default implementation of the `update` method.
public
update(UpdateInput $input, callable $next) : StartUpdateOutput
Parameters
- $input : UpdateInput
- $next : callable