DurableWorkflow
extends Facade
in package
FinalYes
Laravel facade for application workflow interactions and test fakes.
Table of Contents
Methods
- fake() : LaravelWorkflowClientFake
- handle() : WorkflowHandleInterface
- start() : WorkflowHandleInterface
- getFacadeAccessor() : string
- durableWorkflowApplication() : mixed
- Normalize the nullable runtime state hidden by older Laravel PHPDoc.
Methods
fake()
public
static fake([LaravelWorkflowClientFake|null $fake = null ]) : LaravelWorkflowClientFake
Parameters
- $fake : LaravelWorkflowClientFake|null = null
Return values
LaravelWorkflowClientFakehandle()
public
static handle(string $workflowService, string $workflowId[, string|null $selectedRunId = = 'null' ]) : WorkflowHandleInterface
Parameters
- $workflowService : string
- $workflowId : string
- $selectedRunId : string|null = = 'null'
Return values
WorkflowHandleInterfacestart()
public
static start(string $workflowService[, array<int, mixed> $input = = '[]' ][, string|null $workflowId = = 'null' ][, WorkflowStartOptions|null $options = = 'null' ]) : WorkflowHandleInterface
Parameters
- $workflowService : string
- $input : array<int, mixed> = = '[]'
- $workflowId : string|null = = 'null'
- $options : WorkflowStartOptions|null = = 'null'
Return values
WorkflowHandleInterfacegetFacadeAccessor()
protected
static getFacadeAccessor() : string
Return values
stringdurableWorkflowApplication()
Normalize the nullable runtime state hidden by older Laravel PHPDoc.
private
static durableWorkflowApplication() : mixed