ProcessImageUpdated
in package
implements
ShouldQueue
Uses
Dispatchable, InteractsWithQueue, Queueable, SerializesModels, ActivityLogger, RetriableJob
Interfaces, Classes, Traits and Enums
- ShouldQueue
Table of Contents
- $errorLogName : string
- $warningLogName : string
- $jobsLogName : string
- The name of the log in which we are going to log actions performed by jobs
- $apiVersion : string
- The apiVersion that should be used to retrieve the service
- $image : Image
- The Image instance
- __construct() : mixed
- Create a new job instance.
- handle() : void
- Execute the job.
- logEntry() : Activity
- logEntryWithoutModel() : Activity
- logError() : Activity
- logWarning() : Activity
- log() : array<string|int, Activity>
Properties
$errorLogName
public
static string
$errorLogName
= "error"
$warningLogName
public
static string
$warningLogName
= "warning"
$jobsLogName
The name of the log in which we are going to log actions performed by jobs
protected
string
$jobsLogName
= "jobs"
$apiVersion
The apiVersion that should be used to retrieve the service
private
string
$apiVersion
$image
The Image instance
private
Image
$image
Methods
__construct()
Create a new job instance.
public
__construct(Image $image, string $apiVersion) : mixed
Parameters
- $image : Image
- $apiVersion : string
Return values
mixed —handle()
Execute the job.
public
handle(RuntimeConfiguration $runtimeConfiguration) : void
Parameters
- $runtimeConfiguration : RuntimeConfiguration
Tags
Return values
void —logEntry()
public
static logEntry(Model $model, array<string|int, mixed> $properties, string $description, string $event, string $logName) : Activity
Parameters
- $model : Model
- $properties : array<string|int, mixed>
- $description : string
- $event : string
- $logName : string
Return values
Activity —logEntryWithoutModel()
public
static logEntryWithoutModel(array<string|int, mixed> $properties, string $description, string $event, string $logName) : Activity
Parameters
- $properties : array<string|int, mixed>
- $description : string
- $event : string
- $logName : string
Return values
Activity —logError()
public
static logError(Model $model, array<string|int, mixed> $properties, string $description, string $event) : Activity
Parameters
- $model : Model
- $properties : array<string|int, mixed>
- $description : string
- $event : string
Return values
Activity —logWarning()
public
static logWarning(Model $model, array<string|int, mixed> $properties, string $description, string $event) : Activity
Parameters
- $model : Model
- $properties : array<string|int, mixed>
- $description : string
- $event : string
Return values
Activity —log()
protected
log(Model|array<string|int, mixed> $models, array<string|int, mixed> $properties, string $description[, null $logName = null ]) : array<string|int, Activity>
Parameters
- $models : Model|array<string|int, mixed>
- $properties : array<string|int, mixed>
- $description : string
- $logName : null = null