class InspectedJob (View source)

Methods

__construct(string|null $uuid, string|null $queue, string|null $name, int $attempts, array $payload = [], Carbon|null $createdAt = null)

Create a new inspected job instance.

static InspectedJob
fromPayload(string $payload, int|null $attempts = null, string|null $queue = null)

Create a new instance from a raw job payload.

Details

__construct(string|null $uuid, string|null $queue, string|null $name, int $attempts, array $payload = [], Carbon|null $createdAt = null)

Create a new inspected job instance.

Parameters

string|null $uuid

The unique identifier for the job.

string|null $queue

The name of the queue the job is on.

string|null $name

The display name of the job.

int $attempts

The number of times the job has been attempted.

array $payload
Carbon|null $createdAt

The date and time the job was created.

static InspectedJob fromPayload(string $payload, int|null $attempts = null, string|null $queue = null)

Create a new instance from a raw job payload.

Parameters

string $payload

The raw JSON job payload.

int|null $attempts

The number of times the job has been attempted.

string|null $queue

The name of the queue the job is on.

Return Value

InspectedJob

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.