Total Complexity | 5 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 66.67% |
Changes | 0 |
1 | <?php |
||
14 | abstract class JobHandler implements HandlerInterface |
||
15 | { |
||
16 | /** |
||
17 | * Default function with method injection. |
||
18 | */ |
||
19 | protected const HANDLE_FUNCTION = 'invoke'; |
||
20 | |||
21 | 5 | public function __construct( |
|
24 | 5 | } |
|
25 | |||
26 | 1 | public function handle(string $name, string $id, mixed $payload, array $headers = []): void |
|
39 | } |
||
40 | } |
||
41 | |||
42 | 1 | protected function getHandlerMethod(): string |
|
47 |