class QueueFactory implements Factory
Methods
Expects a callback that will be called to instantiate the queue adapter, once requested by the application.
Determine which of the given queues are currently paused.
Pause a queue by its connection and name for a given amount of time.
Indicate that queue workers should not poll for restart or pause signals.
Details
at
line 27
__construct(Closure $factory)
Expects a callback that will be called to instantiate the queue adapter, once requested by the application.
at
line 38
Queue
connection(string $name = null)
Resolve a queue connection instance.
at
line 68
bool
isPaused(string $connection, string $queue)
Determine if a queue is paused.
at
line 80
array
getPausedQueues(string $connection, array $queues)
Determine which of the given queues are currently paused.
at
line 92
void
pause(string $connection, string $queue)
Pause a queue by its connection and name.
at
line 105
void
pauseFor(string $connection, string $queue, DateTimeInterface|DateInterval|int $ttl)
Pause a queue by its connection and name for a given amount of time.
at
line 117
void
resume(string $connection, string $queue)
Resume a paused queue by its connection and name.
at
line 127
void
withoutInterruptionPolling()
Indicate that queue workers should not poll for restart or pause signals.