Documentation

FailedJobProviderInterface

Table of Contents

all()  : array<string|int, mixed>
Get a list of all of the failed jobs.
find()  : object|null
Get a single failed job.
flush()  : void
Flush all of the failed jobs from storage.
forget()  : bool
Delete a single failed job from storage.
log()  : int|null
Log a failed job into storage.

Methods

all()

Get a list of all of the failed jobs.

public all() : array<string|int, mixed>
Return values
array<string|int, mixed>

find()

Get a single failed job.

public find(mixed $id) : object|null
Parameters
$id : mixed
Return values
object|null

forget()

Delete a single failed job from storage.

public forget(mixed $id) : bool
Parameters
$id : mixed
Return values
bool

log()

Log a failed job into storage.

public log(string $connection, string $queue, string $payload, Exception $exception) : int|null
Parameters
$connection : string
$queue : string
$payload : string
$exception : Exception
Return values
int|null

Search results