Documentation

WorkflowClientCallsInterceptor extends Interceptor

It's recommended to use `WorkflowClientCallsInterceptorTrait` when implementing this interface because the interface might be extended in the future. The trait will provide forward compatibility.

class MyWorkflowClientCallsInterceptor implements WorkflowClientCallsInterceptor
{
    use WorkflowClientCallsInterceptorTrait;

    public function start(StartInput $input, callable $next): WorkflowExecution
    {
        error_log('Starting workflow: ' . $input->workflowType);

        return $next($input);
    }
}
Tags
see
WorkflowClientCallsInterceptorTrait

Table of Contents

Methods

cancel()  : void
describe()  : WorkflowExecutionDescription
getResult()  : ValuesInterface|null
query()  : ValuesInterface|null
signal()  : void
signalWithStart()  : WorkflowExecution
start()  : WorkflowExecution
terminate()  : void
update()  : StartUpdateOutput

Methods

getResult()

public getResult(GetResultInput $input, Warning: Array to string conversion in /opt/phpdoc/src/phpDocumentor/Transformer/Writer/Twig/LinkRenderer/CallableAdapter.php on line 78 callable(GetResultInput): Array $next) : ValuesInterface|null
Parameters
$input : GetResultInput
$next : Warning: Array to string conversion in /opt/phpdoc/src/phpDocumentor/Transformer/Writer/Twig/LinkRenderer/CallableAdapter.php on line 78 callable(GetResultInput): Array
Return values
ValuesInterface|null

query()

public query(QueryInput $input, Warning: Array to string conversion in /opt/phpdoc/src/phpDocumentor/Transformer/Writer/Twig/LinkRenderer/CallableAdapter.php on line 78 callable(QueryInput): Array $next) : ValuesInterface|null
Parameters
$input : QueryInput
$next : Warning: Array to string conversion in /opt/phpdoc/src/phpDocumentor/Transformer/Writer/Twig/LinkRenderer/CallableAdapter.php on line 78 callable(QueryInput): Array
Return values
ValuesInterface|null

        
On this page

Search results