UploadRedbookPhotos
in package
implements
ShouldQueue
Uses
Dispatchable, InteractsWithQueue, Queueable, SerializesModels
Interfaces, Classes, Traits and Enums
- ShouldQueue
Table of Contents
- $jobsPerMinute : int
- $redbookPhotos : Collection
- __construct() : mixed
- Create a new job instance.
- handle() : void
- Execute the job.
- middleware() : array<string|int, RateLimitedWithRedis>
- retryUntil() : DateTime
- Determine the time at which the job should timeout.
Properties
$jobsPerMinute
public
static int
$jobsPerMinute
= 10
$redbookPhotos
protected
Collection
$redbookPhotos
Methods
__construct()
Create a new job instance.
public
__construct(Collection $redbookPhotos) : mixed
Parameters
- $redbookPhotos : Collection
Return values
mixed —handle()
Execute the job.
public
handle(CloudinaryApi $cloudinaryApi) : void
Parameters
- $cloudinaryApi : CloudinaryApi
Tags
Return values
void —middleware()
public
middleware() : array<string|int, RateLimitedWithRedis>
Return values
array<string|int, RateLimitedWithRedis> —retryUntil()
Determine the time at which the job should timeout.
public
retryUntil() : DateTime