ProcessUpload
in package
implements
ShouldQueue
Uses
Dispatchable, InteractsWithQueue, Queueable, SerializesModels
Interfaces, Classes, Traits and Enums
- ShouldQueue
Table of Contents
- $backoff : int
- The number of seconds to wait before retrying the job.
- $tries : int
- The number of times the job may be attempted.
- $upload : Upload
- __construct() : mixed
- Create a new job instance.
- handle() : void
- Execute the job.
- retryUntil() : DateTime
- Determine the time at which the job should timeout.
Properties
$backoff
The number of seconds to wait before retrying the job.
public
int
$backoff
= 3
$tries
The number of times the job may be attempted.
public
int
$tries
= 3
$upload
protected
Upload
$upload
Methods
__construct()
Create a new job instance.
public
__construct(Upload $upload) : mixed
Parameters
- $upload : Upload
Return values
mixed —handle()
Execute the job.
public
handle(UploadProcessor $processor) : void
Parameters
- $processor : UploadProcessor
Return values
void —retryUntil()
Determine the time at which the job should timeout.
public
retryUntil() : DateTime