Total Complexity | 4 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
16 | final class OnExceptionCases implements Handler |
||
17 | { |
||
18 | private $middleware; |
||
19 | private $handler; |
||
20 | |||
21 | private function __construct( |
||
22 | ExceptionPathMiddleware $middleware, |
||
23 | Handler $handler |
||
24 | ) { |
||
25 | $this->middleware = $middleware; |
||
26 | $this->handler = $handler; |
||
27 | } |
||
28 | |||
29 | public static function invoke( |
||
34 | } |
||
35 | |||
36 | /** @inheritdoc */ |
||
37 | public function handle(object $command): void |
||
46 |