Total Complexity | 5 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
17 | class GetBucketSize extends CommandHandler |
||
18 | { |
||
19 | /** |
||
20 | * Get the total size of items in a bucket. |
||
21 | * |
||
22 | * @param array $params |
||
23 | * |
||
24 | * @return int|mixed |
||
25 | * @throws \Exception |
||
26 | */ |
||
27 | 4 | public function handle($params = []) |
|
48 | } |
||
49 | |||
50 | /** |
||
51 | * @param array $params |
||
52 | * |
||
53 | * @return bool |
||
54 | */ |
||
55 | 4 | public function validateParams($params = []) |
|
60 |