class JobQueued (View source)

Properties

string $connectionName

The connection name.

string|int|null $id

The job ID.

Closure|string|object $job

The job instance.

string|null $payload

The job payload.

Methods

void
__construct(string $connectionName, string|int|null $id, Closure|string|object $job, string|null $payload = null)

Create a new event instance.

array
payload()

Get the decoded job payload.

Details

void __construct(string $connectionName, string|int|null $id, Closure|string|object $job, string|null $payload = null)

Create a new event instance.

Parameters

string $connectionName
string|int|null $id
Closure|string|object $job
string|null $payload

Return Value

void

array payload()

Get the decoded job payload.

Return Value

array