Connection
class Connection (View source)
Constants
| private SUPPORTED_CONNECTIONS |
Supported connection drivers and their adapter classes |
Methods
__construct(array $config)
Configuration of worker connection
static bool
pushConnection(string $name, string $classname)
Register a new connection adapter at runtime
setConnection(string $connection)
Set the connection driver to use
mixed
__call(string $name, array $arguments)
Proxy method calls to the underlying adapter
getAdapter()
Get the configured adapter instance
Details
__construct(array $config)
Configuration of worker connection
static bool
pushConnection(string $name, string $classname)
Register a new connection adapter at runtime
Connection
setConnection(string $connection)
Set the connection driver to use
mixed
__call(string $name, array $arguments)
Proxy method calls to the underlying adapter
QueueAdapter
getAdapter()
Get the configured adapter instance