Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class StorageS3 |
||
6 | { |
||
7 | /** |
||
8 | * Instantiate an S3 object while only providing an S3 object key. |
||
9 | * |
||
10 | * @param string $key |
||
11 | * @return S3 |
||
12 | */ |
||
13 | public static function key(string $key): S3 |
||
16 | } |
||
17 | |||
18 | /** |
||
19 | * * Instantiate an S3 object while providing a filesystem disk and an S3 object key. |
||
20 | * |
||
21 | * @param string $disk |
||
22 | * @param string $key |
||
23 | * @return S3 |
||
24 | */ |
||
25 | public function disk(string $disk, string $key): S3 |
||
30 |