| Total Complexity | 5 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | final class PlainCommandHandler extends Handler |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @param \diecoding\aws\s3\interfaces\commands\PlainCommand $command |
||
| 19 | * |
||
| 20 | * @return \Aws\ResultInterface|\GuzzleHttp\Promise\PromiseInterface |
||
| 21 | */ |
||
| 22 | public function handle(PlainCommand $command) |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param \diecoding\aws\s3\interfaces\commands\PlainCommand $command |
||
| 34 | * |
||
| 35 | * @return bool |
||
| 36 | */ |
||
| 37 | protected function commandIsAsync(PlainCommand $command): bool |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param \diecoding\aws\s3\interfaces\commands\PlainCommand $command |
||
| 44 | * |
||
| 45 | * @return \Aws\CommandInterface |
||
| 46 | */ |
||
| 47 | protected function transformToAwsCommand(PlainCommand $command): AwsCommand |
||
| 54 |