RedisQueue::later()

mixed later(DateTime|int $delay, string $job, mixed $data = '', string $queue = null) Push a new job onto the queue after a delay. Parameters DateTime|int $delay string $job mixed $data string $queue Return Value mixed

RedisQueue::getRedis()

Database getRedis() Get the underlying Redis instance. Return Value Database

RedisQueue::deleteReserved()

void deleteReserved(string $queue, string $job) Delete a reserved job from the queue. Parameters string $queue string $job Return Value void

RedisQueue::deleteAndRelease()

void deleteAndRelease(string $queue, string $job, int $delay) Delete a reserved job from the reserved queue and release it. Parameters string $queue string $job int $delay Return Value void

RedisQueue::bulk()

mixed bulk(array $jobs, mixed $data = '', string $queue = null) Push an array of jobs onto the queue. Parameters array $jobs mixed $data string $queue Return Value mixed

RedisQueue

RedisQueue class RedisQueue extends Queue implements Queue (View source) Methods mixed pushOn(string $queue, string $job, mixed $data = '') Push a new job onto the queue. from Queue mixed laterOn(string $queue, DateTime|int $delay, string $job, mixed $data = '') Push a new job onto the queue after a delay. from Queue mixed bulk(array $jobs, mixed $data = '', string $queue = null) Push an array of jobs onto the queue. from Queue void setContainer(Container $container) Set the I

RedisJob::__construct()

__construct(Container $container, RedisQueue $redis, string $job, string $reserved, string $queue) Create a new job instance. Parameters Container $container RedisQueue $redis string $job string $reserved string $queue

RedisJob::resolveName()

string resolveName() Get the resolved name of the queued job class. Return Value string

RedisJob::release()

void release(int $delay) Release the job back into the queue. Parameters int $delay Return Value void

RedisJob::payload()

array payload() Get the decoded body of the job. Return Value array