Total Complexity | 8 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
19 | class Cloud |
||
20 | { |
||
21 | /** |
||
22 | * @param array $clouds |
||
23 | * @param string $tmp_dir |
||
24 | */ |
||
25 | public static function uploadDirectory(array $clouds, string $tmp_dir): void |
||
33 | } |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @param array $cloud |
||
38 | * @param string|null $save_to |
||
39 | * @return array |
||
40 | */ |
||
41 | public static function download(array $cloud, string $save_to = null): array |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * @param $cloud_c |
||
51 | * @param $method |
||
52 | * @param $path |
||
53 | */ |
||
54 | private static function transfer(array $cloud_c, string $method, string $path): void |
||
63 | } |