ProcessSubnetDeleted
in package
implements
ShouldQueue, ShouldBeUnique
Uses
Dispatchable, InteractsWithQueue, Queueable, SerializesModels, ActivityLogger, RetriableJob
Interfaces, Classes, Traits and Enums
- ShouldQueue
- ShouldBeUnique
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
- $subnet : Subnet
- The Subnet instance
- __construct() : mixed
- Create a new job instance.
- handle() : void
- logEntry() : Activity
- logEntryWithoutModel() : Activity
- logError() : Activity
- logWarning() : Activity
- uniqueId() : string
- 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
$subnet
The Subnet instance
private
Subnet
$subnet
Methods
__construct()
Create a new job instance.
public
__construct(Subnet $subnet, string $apiVersion) : mixed
Parameters
- $subnet : Subnet
- $apiVersion : string
Return values
mixed —handle()
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 —uniqueId()
public
uniqueId() : string
Tags
Return values
string —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