Skip to content

FailedJobStoreInterface

Dead-letter sink for jobs that exhausted their retries.

Independent of the queue driver in use — QueuePlugin binds a default LogFailedJobStore; quioteframework/queue-db offers a persistent DbFailedJobStore an app can bind instead, regardless of which QueueDriverInterface it queues jobs through.

interface FailedJobStoreInterface

Implemented byInspectableFailedJobStoreInterface, LogFailedJobStore
SourceFailedJobStoreInterface.php
MethodDescription
record(FailedJob $failedJob): voidTakes delivery of a job that has permanently failed.

abstract public function record(FailedJob $failedJob): void

Takes delivery of a job that has permanently failed.

Called by JobExecutor once retries are exhausted, before the driver is told to discard the job. Implementors decide whether the record is kept (a queryable store) or merely reported and dropped (LogFailedJobStore).

ParameterTypeDescription
$failedJobFailedJob