class Connection (View source)

Methods

__construct(array $config)

Configuration of worker connection

static bool
pushConnection(string $name, string $classname)

Push the new connection support in connectors management

setConnection(string $connection)

Set connection

getAdapter()

Get the define adapter

mixed|null
__call(string $name, array $arguments)

__call

Details

__construct(array $config)

Configuration of worker connection

Parameters

array $config

static bool pushConnection(string $name, string $classname)

Push the new connection support in connectors management

Parameters

string $name
string $classname

Return Value

bool

Exceptions

ErrorException

Connection setConnection(string $connection)

Set connection

Parameters

string $connection

Return Value

Connection

QueueAdapter getAdapter()

Get the define adapter

Return Value

QueueAdapter

mixed|null __call(string $name, array $arguments)

__call

Parameters

string $name
array $arguments

Return Value

mixed|null

Exceptions

ErrorException