interface FailedJobProviderInterface (View source)

Methods

string|int|null
log(string $connection, string $queue, string $payload, Throwable $exception)

Log a failed job into storage.

array
all()

Get a list of all of the failed jobs.

object|null
find(mixed $id)

Get a single failed job.

bool
forget(mixed $id)

Delete a single failed job from storage.

void
flush()

Flush all of the failed jobs from storage.

Details

string|int|null log(string $connection, string $queue, string $payload, Throwable $exception)

Log a failed job into storage.

Parameters

string $connection
string $queue
string $payload
Throwable $exception

Return Value

string|int|null

array all()

Get a list of all of the failed jobs.

Return Value

array

object|null find(mixed $id)

Get a single failed job.

Parameters

mixed $id

Return Value

object|null

bool forget(mixed $id)

Delete a single failed job from storage.

Parameters

mixed $id

Return Value

bool

void flush()

Flush all of the failed jobs from storage.

Return Value

void