Interface Resque_Failure_Interface
Implemented by | Resque_Failure_Redis |
---|
Interface that all failure backends should implement.
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | Initialize a failed job class and save it (where appropriate). | Resque_Failure_Interface |
Method Details
Initialize a failed job class and save it (where appropriate).
public abstract void __construct ( $payload, $exception, $worker, $queue ) | ||
$payload | object | Object containing details of the failed job. |
$exception | object | Instance of the exception that was thrown by the failed job. |
$worker | object | Instance of Resque_Worker that received the job. |
$queue | string | The name of the queue the job was fetched from. |