1 | <?php |
||
13 | final class FileSystemAdapter implements FileSystemInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var FileSystemFileSystemInterface |
||
17 | */ |
||
18 | private $fileSystem; |
||
19 | |||
20 | public function __construct(FileSystemFileSystemInterface $fileSystem = null) |
||
24 | |||
25 | /** |
||
26 | * @throws FileNotFoundException |
||
27 | * @throws InvalidPathException |
||
28 | */ |
||
29 | public function readFile(string $path): string |
||
39 | |||
40 | public function getExtension(string $path): string |
||
44 | } |
||
45 |