SyncQueue
class SyncQueue 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
mixed
push(
string $job,
mixed $data = '',
string $queue = null)
Push a new job onto the queue.
mixed
pushRaw(
string $payload,
string $queue = null,
array $options = array())
Push a raw payload onto the queue.
mixed
Details
mixed
laterOn(
string $queue,
DateTime|int $delay,
string $job,
mixed $data = '')
Push a new job onto the queue after a delay.
mixed
bulk(
array $jobs,
mixed $data = '',
string $queue = null)
Push an array of jobs onto the queue.
at line line 23
mixed
push(
string $job,
mixed $data = '',
string $queue = null)
Push a new job onto the queue.
at line line 58
mixed
pushRaw(
string $payload,
string $queue = null,
array $options = array())
Push a raw payload onto the queue.