final class QueueConfig (View source)

Carries a validated queue topology whose default names one configured built-in transport.

Constants

SUPPORTED_TRANSPORTS

Lists transport names supported by framework configuration.

Methods

__construct(string $defaultTransport, array $transports, array $handlers, QueueDatabaseConfig $database)

Rejects unsupported transports and a default absent from the configured transport set.

Details

__construct

__construct(string $defaultTransport, array $transports, array $handlers, QueueDatabaseConfig $database)

Rejects unsupported transports and a default absent from the configured transport set.

Parameters

string $defaultTransport
array $transports
array $handlers
QueueDatabaseConfig $database

Exceptions

InvalidArgumentException