IronJob
class IronJob extends Job implements Job (View source)
Methods
void
fire()
Fire the job.
void
delete()
Delete the job from the queue.
void
release(
int $delay)
Release the job back into the queue.
int
attempts()
Get the number of times the job has been attempted.
string
getRawBody()
Get the raw body string for the job.
string
getQueue()
Get the name of the queue the job belongs to.
void
__construct(
Container $container,
IronQueue $iron,
object $job,
bool $pushed = false)
Create a new job instance.
string
getJobId()
Get the job identifier.
getContainer()
Get the IoC container instance.
array
getIronJob()
Get the underlying IronMQ job.