FailedJobProviderInterface
interface FailedJobProviderInterface
Methods
int|string|null
array
ids(string|null $queue = null)
Get the IDs of all of the failed jobs.
array
all()
Get a list of all of the failed jobs.
object|null
find(mixed $id)
Get a failed job or a collection of failed jobs.
bool
forget(mixed $id)
Delete a single failed job from storage.
void
flush(int|null $hours = null)
Flush all of the failed jobs from storage.
Details
at line 14
int|string|null
log(string $connection, string $queue, string $payload, Throwable $exception)
Log a failed job into storage.
at line 19
array
ids(string|null $queue = null)
Get the IDs of all of the failed jobs.
at line 24
array
all()
Get a list of all of the failed jobs.
at line 29
object|null
find(mixed $id)
Get a failed job or a collection of failed jobs.
at line 34
bool
forget(mixed $id)
Delete a single failed job from storage.
at line 39
void
flush(int|null $hours = null)
Flush all of the failed jobs from storage.