Durable Workflow PHP SDK — API Reference

Guides

WorkerCommand extends Command
in package

FinalYes

Runs a supervised service-mode worker from Artisan.

Table of Contents

Properties

$description  : mixed
$signature  : mixed
$container  : Container
$events  : Dispatcher|null

Methods

__construct()  : mixed
handle()  : int
pollTimeout()  : int

Properties

$description

protected mixed $description = 'Run the Durable Workflow service-mode worker'

$signature

protected mixed $signature = 'durable-workflow:worker {--queue= : Override the configured task queue} {--poll-timeout= : Long-poll timeout in seconds (0-60)}'

Methods

__construct()

public __construct(Container $container[, Dispatcher|null $events = null ]) : mixed
Parameters
$container : Container
$events : Dispatcher|null = null
On this page

Search results