Documentation

WorkflowInboundCallsInterceptor extends Interceptor

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

class MyWorkflowInboundCallsInterceptor implements WorkflowInboundCallsInterceptor
{
    use WorkflowInboundCallsInterceptorTrait;

    public function handleSignal(SignalInput $input, callable $next): void
    {
        error_log('Workflow received signal: ' . $input->signalName);

        $next($input);
    }
}
Tags
see
WorkflowInboundCallsInterceptorTrait

Table of Contents

Methods

execute()  : void
handleQuery()  : mixed
handleSignal()  : void
handleUpdate()  : mixed
validateUpdate()  : void

Methods


        
On this page

Search results