Total Complexity | 1 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class Resque_Failure_Redis implements Resque_Failure_Interface |
||
12 | { |
||
13 | /** |
||
14 | * Initialize a failed job class and save it (where appropriate). |
||
15 | * |
||
16 | * @param object $payload Object containing details of the failed job. |
||
17 | * @param object $exception Instance of the exception that was thrown by the failed job. |
||
18 | * @param object $worker Instance of Resque_Worker that received the job. |
||
19 | * @param string $queue The name of the queue the job was fetched from. |
||
20 | 2 | */ |
|
21 | public function __construct($payload, $exception, $worker, $queue) |
||
35 |