1 | <?php declare(strict_types=1); |
||
9 | final class StreamingRequestHandler |
||
10 | { |
||
11 | /** |
||
12 | * @var StreamingRequestService |
||
13 | */ |
||
14 | private $service; |
||
15 | |||
16 | /** |
||
17 | * @param StreamingRequestService $service |
||
18 | */ |
||
19 | 1 | public function __construct(StreamingRequestService $service) |
|
23 | |||
24 | /** |
||
25 | * @param RequestCommandInterface $command |
||
26 | * @return PromiseInterface |
||
27 | */ |
||
28 | 1 | public function handle(RequestCommandInterface $command): PromiseInterface |
|
35 | } |
||
36 |