class JobQueueing (View source)

Methods

void
__construct(string $connectionName, string $queue, 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, Closure|string|object $job, string $payload, int|null $delay)

Create a new event instance.

Parameters

string $connectionName

The connection name.

string $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.

Return Value

void

array payload()

Get the decoded job payload.

Return Value

array