| 1 | <?php |
||
| 5 | abstract class FileDriver implements DriverInterface |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var FilePathAccessorInterface |
||
| 9 | */ |
||
| 10 | private $pathAccessor; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @param array|string|FilePathAccessorInterface $files |
||
| 14 | */ |
||
| 15 | public function __construct($files) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param string $path |
||
| 26 | * @return string |
||
| 27 | */ |
||
| 28 | protected function getFileContent($path) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return array |
||
| 39 | */ |
||
| 40 | protected function getPaths() |
||
| 44 | } |
||
| 45 |