Worker
class Worker (View source)
Methods
void __construct(QueueManager $manager, Dispatcher $events, ExceptionHandler $exceptions) Create a new queue worker. void daemon(string $connectionName, string $queue, WorkerOptions $options) Listen to the given queue in a loop. void runNextJob(string $connectionName, string $queue, WorkerOptions $options) Process the next job on the queue. void process(string $connectionName, Job $job, WorkerOptions $options) Process a given job fr