NullFailedJobProvider
class NullFailedJobProvider implements CountableFailedJobProvider, 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 single failed job.
bool
forget(mixed $id)
Delete a single failed job from storage.
void
flush(int|null $hours = null, string|null $queue = null)
Flush the failed jobs from storage.
int
count(string|null $connection = null, string|null $queue = null)
Count the failed jobs.
Details
at line 14
int|string|null
log(string $connection, string $queue, string $payload, Throwable $exception)
Log a failed job into storage.
at line 24
array
ids(string|null $queue = null)
Get the IDs of all of the failed jobs.
at line 34
array
all()
Get a list of all of the failed jobs.
at line 42
object|null
find(mixed $id)
Get a single failed job.
at line 50
bool
forget(mixed $id)
Delete a single failed job from storage.
at line 58
void
flush(int|null $hours = null, string|null $queue = null)
Flush the failed jobs from storage.
at line 65
int
count(string|null $connection = null, string|null $queue = null)
Count the failed jobs.