DatabaseQueue::size()

int size(string $queue = null) Get the size of the queue. Parameters string $queue Return Value int

DatabaseQueue::setContainer()

void setContainer(Container $container) Set the IoC container instance. Parameters Container $container Return Value void

DatabaseQueue::release()

mixed release(string $queue, StdClass $job, int $delay) Release a reserved job back onto the queue. Parameters string $queue StdClass $job int $delay Return Value mixed

DatabaseQueue::pushRaw()

mixed pushRaw(string $payload, string $queue = null, array $options = array()) Push a raw payload onto the queue. Parameters string $payload string $queue array $options Return Value mixed

DatabaseQueue::pushOn()

mixed pushOn(string $queue, string $job, mixed $data = '') Push a new job onto the queue. Parameters string $queue string $job mixed $data Return Value mixed

DatabaseQueue::push()

mixed push(string $job, mixed $data = '', string $queue = null) Push a new job onto the queue. Parameters string $job mixed $data string $queue Return Value mixed

DatabaseQueue::pop()

Job|null pop(string $queue = null) Pop the next job off of the queue. Parameters string $queue Return Value Job|null

DatabaseQueue::laterOn()

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

DatabaseQueue::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

DatabaseQueue::getDatabase()

Connection getDatabase() Get the underlying database instance. Return Value Connection