Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
14 | final class AfterHandling implements Handler |
||
15 | { |
||
16 | private $middleware; |
||
17 | private $handler; |
||
18 | |||
19 | private function __construct(Middleware $middleware, Handler $handler) |
||
20 | { |
||
21 | $this->middleware = $middleware; |
||
22 | $this->handler = $handler; |
||
23 | } |
||
24 | |||
25 | public static function invoke( |
||
30 | } |
||
31 | |||
32 | /** @inheritdoc */ |
||
33 | public function handle(object $command): void |
||
39 |