Queue
class Queue (View source)
Methods
mixed
pushOn(
string $queue,
string $job,
mixed $data = '')
Push a new job onto the queue.
mixed
mixed
bulk(
array $jobs,
mixed $data = '',
string $queue = null)
Push an array of jobs onto the queue.
void
void
Details
at line line 30
mixed
pushOn(
string $queue,
string $job,
mixed $data = '')
Push a new job onto the queue.
at line line 44
mixed
laterOn(
string $queue,
DateTime|int $delay,
string $job,
mixed $data = '')
Push a new job onto the queue after a delay.
at line line 57
mixed
bulk(
array $jobs,
mixed $data = '',
string $queue = null)
Push an array of jobs onto the queue.