class JobQueued (View source)

Methods

__construct(string $connectionName, string|null $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

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

Create a new event instance.

Parameters

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.

array payload()

Get the decoded job payload.

Return Value

array

Exceptions

JsonException

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.