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

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

SyncQueue

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 void setContainer(Container $container) Set the IoC

SyncJob::__construct()

void __construct(Container $container, string $payload, string $queue) Create a new job instance. Parameters Container $container string $payload string $queue Return Value void

SyncJob::release()

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

SyncJob::payload()

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

SyncJob::isReleased()

bool isReleased() Determine if the job was released back into the queue. Return Value bool

SyncJob::resolveName()

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

SyncJob::isDeleted()

bool isDeleted() Determine if the job has been deleted. Return Value bool

SyncJob::isDeletedOrReleased()

bool isDeletedOrReleased() Determine if the job has been deleted or released. Return Value bool