QueueableJobInterface
interface QueueableJobInterface
Interface that all queueable jobs must implement.
Methods
int|array
backoff()
Sets backoff for a job
int
delay()
Sets delay for a job.
void
handle()
The logic that should be executed when the job is processed.
int
maxAttempts()
Undocumented function
array
toPayload()
Converts the job into a payload array for storage in the queue.
Details
at line 16
int|array
backoff()
Sets backoff for a job
at line 23
int
delay()
Sets delay for a job.
at line 30
void
handle()
The logic that should be executed when the job is processed.
at line 37
int
maxAttempts()
Undocumented function
at line 45
array
toPayload()
Converts the job into a payload array for storage in the queue.
Must include the fully qualified class name and job data.