class JobQueued (View source)

Properties

string $connectionName

The connection name.

string|null $queue

The queue name.

string|int|null $id

The job ID.

Closure|string|object $job

The job instance.

string $payload

The job payload.

int|null $delay

The amount of time the job was delayed.

Methods

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

Create a new event instance.

array
payload()

Get the decoded job payload.

Details

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

Create a new event instance.

Parameters

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

Return Value

void

array payload()

Get the decoded job payload.

Return Value

array