1 | <?php declare(strict_types=1); |
||
11 | final class LogHandler |
||
12 | { |
||
13 | /** |
||
14 | * @var RequestService |
||
15 | */ |
||
16 | private $service; |
||
17 | |||
18 | /** |
||
19 | * @param RequestService $service |
||
20 | */ |
||
21 | public function __construct(RequestService $service) |
||
25 | |||
26 | /** |
||
27 | * @param LogCommand $command |
||
28 | * @return PromiseInterface |
||
29 | */ |
||
30 | public function handle(LogCommand $command): PromiseInterface |
||
41 | } |
||
42 |