class JobQueueing (View source)

Methods

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

Closure|string|object $job

The job instance.

string $payload

The job payload.

int|null $delay

The number of seconds 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.