Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | abstract class Job |
||
12 | { |
||
13 | /** |
||
14 | * @param Message $message |
||
15 | * @param Producer $producer |
||
16 | * @return mixed |
||
17 | */ |
||
18 | abstract public function handle(Message $message, Producer $producer): string; |
||
19 | |||
20 | /** |
||
21 | * @return string |
||
22 | */ |
||
23 | 1 | public function queue(): string |
|
26 | } |
||
27 | |||
28 | /** |
||
29 | * @return int|null |
||
30 | */ |
||
31 | 1 | public function attempts(): ?int |
|
36 |