Total Complexity | 1 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | class RedisFailure implements FailureInterface |
||
17 | { |
||
18 | /** |
||
19 | * Initialize a failed job class and save it (where appropriate). |
||
20 | * |
||
21 | * @param object $payload Object containing details of the failed job. |
||
22 | * @param object $exception Instance of the exception that was thrown by the failed job. |
||
23 | * @param object $worker Instance of \Resque\Worker\ResqueWorker that received the job. |
||
24 | * @param string $queue The name of the queue the job was fetched from. |
||
25 | */ |
||
26 | public function __construct($payload, $exception, $worker, $queue) |
||
40 |