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