| 1 | <?php |
||
| 7 | class FileSystemHandler implements FileSystemHandlerInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @inheritDoc |
||
| 11 | */ |
||
| 12 | public function exists(string $path): bool |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @inheritDoc |
||
| 19 | */ |
||
| 20 | public function isReadable(string $path): bool |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @inheritDoc |
||
| 27 | */ |
||
| 28 | public function isWritable(string $path): bool |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @inheritDoc |
||
| 39 | */ |
||
| 40 | public function getPathName(string $path): string |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @inheritDoc |
||
| 47 | */ |
||
| 48 | public function getFilename(string $path): string |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @inheritDoc |
||
| 55 | */ |
||
| 56 | public function getSize(string $path): int |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @inheritDoc |
||
| 63 | */ |
||
| 64 | public function getType(string $path): string |
||
| 68 | |||
| 69 | /** |
||
| 70 | * @inheritDoc |
||
| 71 | */ |
||
| 72 | public function read(string $path): string |
||
| 76 | |||
| 77 | /** |
||
| 78 | * @inheritDoc |
||
| 79 | */ |
||
| 80 | public function write(string $path, string $content) |
||
| 84 | } |
||
| 85 |