Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | public function handle(PlainCommand $command) |
||
23 | { |
||
24 | $awsCommand = $this->transformToAwsCommand($command); |
||
25 | |||
26 | /** @var \GuzzleHttp\Promise\PromiseInterface $promise */ |
||
27 | $promise = $this->s3Client->executeAsync($awsCommand); |
||
28 | |||
29 | return $this->commandIsAsync($command) ? $promise : $promise->wait(); |
||
30 | } |
||
54 |