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 managment

void
setConnection(string $connection)

Set connection

getAdapter()

Get the define adapter

mixed
__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 managment

Parameters

string $name
string $classname

Return Value

bool

void setConnection(string $connection)

Set connection

Parameters

string $connection

Return Value

void

QueueAdapter getAdapter()

Get the define adapter

Return Value

QueueAdapter

mixed __call(string $name, array $arguments)

__call

Parameters

string $name
array $arguments

Return Value

mixed