IronQueue
class IronQueue extends Queue implements Queue (View source)
Methods
Push a new job onto the queue.
Push a new job onto the queue after a delay.
Marshal a push queue request and fire the job.
Push an array of jobs onto the queue.
Create a new IronMQ queue instance.
Push a new job onto the queue.
Push a raw payload onto the queue.
Push a raw payload onto the queue after encrypting the payload.
Delete a message from the Iron queue.
Get the queue or return the default.
Get the underlying IronMQ instance.
Get the request instance.
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 50
void
__construct(
IronMQ $iron,
Request $request,
string $default,
bool $shouldEncrypt = false)
Create a new IronMQ queue instance.
at line line 66
mixed
push(
string $job,
mixed $data = '',
string $queue = null)
Push a new job onto the queue.
at line line 79
mixed
pushRaw(
string $payload,
string $queue = null,
array $options = array())
Push a raw payload onto the queue.
at line line 96
mixed
recreate(
string $payload,
string $queue,
int $delay)
Push a raw payload onto the queue after encrypting the payload.
at line line 112
mixed
later(
DateTime|int $delay,
string $job,
mixed $data = '',
string $queue = null)
Push a new job onto the queue after a delay.
at line line 150
void
deleteMessage(
string $queue,
string $id)
Delete a message from the Iron queue.