class QueueFactory implements Factory

Methods

__construct(callable $factory)

QueueFactory constructor.

Queue
connection(string $name = null)

Resolve a queue connection instance.

Details

__construct(callable $factory)

QueueFactory constructor.

Expects a callback that will be called to instantiate the queue adapter, once requested by the application.

Parameters

callable $factory

Queue connection(string $name = null)

Resolve a queue connection instance.

Parameters

string $name

Return Value

Queue