SqsJob
class SqsJob 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.
void
__construct(
Container $container,
SqsClient $sqs,
string $queue,
array $job)
Create a new job instance.
string
getJobId()
Get the job identifier.
getContainer()
Get the IoC container instance.
SqsClient
getSqs()
Get the underlying SQS client instance.
array
getSqsJob()
Get the underlying raw SQS job.