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