Durable Workflow PHP SDK — API Reference

Guides

WorkerFactory
in package

FinalYes

Builds workers whose attributed handlers come from Laravel's container.

Table of Contents

Properties

$client  : Client
$configuration  : ServiceConfiguration
$container  : Container
$events  : Dispatcher|null
$logger  : LoggerInterface

Methods

__construct()  : mixed
make()  : Worker
pollTimeoutSeconds()  : int

Properties

Methods

__construct()

public __construct(Container $container, ServiceConfiguration $configuration, Client $client, LoggerInterface $logger[, Dispatcher|null $events = null ]) : mixed
Parameters
$container : Container
$configuration : ServiceConfiguration
$client : Client
$logger : LoggerInterface
$events : Dispatcher|null = null

make()

public make([string|null $taskQueue = null ]) : Worker
Parameters
$taskQueue : string|null = null
Return values
Worker

pollTimeoutSeconds()

public pollTimeoutSeconds() : int
Return values
int
On this page

Search results