class Illuminate / Queue / Failed / DatabaseUuidFailedJobProvider
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

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

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

protected

getTable ( ) : Builder

Get a new query builder instance for the table.