Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
16 | class HasBucket extends CommandHandler |
||
17 | { |
||
18 | /** |
||
19 | * Check if a bucket already exists. |
||
20 | * For a complete reference: |
||
21 | * https://docs.aws.amazon.com/cli/latest/reference/s3api/head-bucket.html |
||
22 | * |
||
23 | * @param array $params |
||
24 | * |
||
25 | * @return bool |
||
26 | */ |
||
27 | 22 | public function handle($params = []) |
|
32 | } |
||
33 | |||
34 | /** |
||
35 | * @param array $params |
||
36 | * |
||
37 | * @return bool |
||
38 | */ |
||
39 | 22 | public function validateParams($params = []) |
|
44 |