class QueueFactory implements Factory

Methods

__construct(Closure $factory)

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

Queue
connection(string $name = null)

Resolve a queue connection instance.

bool
isPaused(string $connection, string $queue)

Determine if a queue is paused.

Details

__construct(Closure $factory)

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

Parameters

Closure $factory

Queue connection(string $name = null)

Resolve a queue connection instance.

Parameters

string $name

Return Value

Queue

bool isPaused(string $connection, string $queue)

Determine if a queue is paused.

This is a no-op implementation since Flarum's simplified queue factory doesn't support queue pausing. Laravel 12's Worker expects this method to exist on the queue manager.

Parameters

string $connection
string $queue

Return Value

bool