Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
27 | public function handle(RequestCommandInterface $command): PromiseInterface |
||
28 | { |
||
29 | return $this->client->request( |
||
30 | $command->getRequest(), |
||
31 | $command->getOptions() |
||
32 | )->then(function (ResponseInterface $response) { |
||
33 | return resolve(new StreamingResponse($response)); |
||
34 | }); |
||
35 | } |
||
36 | } |
||
37 |