Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | /** |
| 3 | * `FlysystemAdapterBackCompatTrait` needs to normalize paths. |
| 4 | * |
| 5 | * @see \League\Flysystem\FilesystemAdapter |
| 6 | */ |
| 7 | |
| 8 | namespace BrianHenryIE\Strauss\Helpers\Flysystem; |
| 9 | |
| 10 | use League\Flysystem\FilesystemReader; |
| 11 | use League\Flysystem\PathNormalizer; |
| 12 | |
| 13 | /** |
| 14 | * @see FlysystemAdapterBackCompatTrait |
| 15 | */ |
| 16 | interface FlysystemAdapterBackCompatTraitInterface |
| 17 | { |
| 18 | /** |
| 19 | * Implementation is provided by {@see FlysystemAdapterBackCompatTrait::directoryExists()}. |
| 20 | * |
| 21 | * @see FilesystemReader::directoryExists() |
| 22 | */ |
| 23 | public function directoryExists(string $location): bool; |
| 24 | |
| 25 | /** |
| 26 | * @see PathNormalizer |
| 27 | */ |
| 28 | public function normalizePath(string $path): string; |
| 29 | } |