class QueueFactory implements Factory

Methods

__construct(callable $factory)

<p>QueueFactory constructor.</p>

Queue
connection(string $name = null)

<p>Resolve a queue connection instance.</p>

Details

__construct(callable $factory)

<p>QueueFactory constructor.</p>

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

Parameters

callable $factory

Queue connection(string $name = null)

<p>Resolve a queue connection instance.</p>

Parameters

string $name

Return Value

Queue