class Connection (View source)

Methods

__construct(array $config)

Configuration of worker connection

static 
pushConnection(string $name, string $classname)

Push the new connection support in connectors managment

setConnection(string $connection)

Set connection

getAdapter()

Get the define adapter

mixed
__call(string $name, array $arguments)

__call

Details

QueueAdapter __construct(array $config)

Configuration of worker connection

Parameters

array $config

Return Value

QueueAdapter

static pushConnection(string $name, string $classname)

Push the new connection support in connectors managment

Parameters

string $name
string $classname

setConnection(string $connection)

Set connection

Parameters

string $connection

QueueAdapter getAdapter()

Get the define adapter

Return Value

QueueAdapter

mixed __call(string $name, array $arguments)

__call

Parameters

string $name
array $arguments

Return Value

mixed