interface Illuminate / Queue / Failed / FailedJobProviderInterface

FailedJobProviderInterface

Methods

public

log ( $connection , $queue , $payload , $exception ) : string|int|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