QueueConfig
Typed snapshot of the queue.* settings family.
Defaults here are read as fallbacks only — QueuePlugin is what actually publishes them into Config via configDefault().
Synopsis
Section titled “Synopsis”final readonly class QueueConfig
| Source | QueueConfig.php |
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
$defaultDriver | string | readonly. |
$retryBackoffSeconds | int | readonly. |
$retryMaxAttempts | int | readonly. |
Constructor
Section titled “Constructor”__construct()
Section titled “__construct()”public function __construct(string $defaultDriver, int $retryMaxAttempts, int $retryBackoffSeconds): mixed
| Parameter | Type | Description |
|---|---|---|
$defaultDriver | string | |
$retryMaxAttempts | int | |
$retryBackoffSeconds | int |
Returns mixed
Methods
Section titled “Methods”| Method | Description |
|---|---|
fromConfig(): QueueConfig | Reads the queue.* family out of Config into one immutable snapshot, falling back to the sync driver with three attempts five seconds apart when the app (or QueuePlugin) has published nothing. |
fromConfig()
Section titled “fromConfig()”public static function fromConfig(): QueueConfig
Reads the queue.* family out of Config into one immutable snapshot, falling back to the sync driver with three attempts five seconds apart when the app (or QueuePlugin) has published nothing.
Returns QueueConfig