Documentation

ProcessKeyPairCreated
in package
implements ShouldQueue, ShouldBeUnique Uses Dispatchable, InteractsWithQueue, Queueable, SerializesModels, ActivityLogger

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
$keyPair  : KeyPair
The Credential instance
__construct()  : mixed
Create a new job instance.
failed()  : void
handle()  : void
logEntry()  : Activity
logEntryWithoutModel()  : Activity
logError()  : Activity
logWarning()  : Activity
uniqueId()  : string
log()  : array<string|int, Activity>

Properties

$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

Methods

__construct()

Create a new job instance.

public __construct(KeyPair $keyPair, string $apiVersion) : mixed
Parameters
$keyPair : KeyPair
$apiVersion : string
Return values
mixed

failed()

public failed(Throwable $th) : void
Parameters
$th : Throwable
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
Return values
array<string|int, Activity>

Search results