class
Illuminate
/
Queue
/
Failed
/
DatabaseUuidFailedJobProvider
DatabaseUuidFailedJobProvider
Implements
Properties
protected
$resolver ConnectionResolverInterface
The connection resolver implementation.
Default: null
protected
$database string
The database connection name.
Default: null
protected
$table string
The database table.
Default: null
Methods
public
__construct ( ConnectionResolverInterface $resolver , $database , $table ) : void
Create a new database failed job provider.
Parameters
- $resolver ConnectionResolverInterface
- $database string
- $table string
public
log ( $connection , $queue , $payload , $exception ) : string|null
Log a failed job into storage.
Parameters
- $connection string
- $queue string
- $payload string
- $exception Throwable
public
all ( ) : array
Get a list of all of the failed jobs.
public
find ( $id ) : object|null
Get a single failed job.
Parameters
- $id mixed
public
forget ( $id ) : bool
Delete a single failed job from storage.
Parameters
- $id mixed
public
flush ( $hours ) : void
Flush all of the failed jobs from storage.
Parameters
- $hours int|null
public
prune ( DateTimeInterface $before ) : int
Prune all of the entries older than the given date.
Parameters
- $before DateTimeInterface