| 1 | <?php |
||
| 5 | class FileReader |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | private $file; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * FileReader constructor. |
||
| 14 | * |
||
| 15 | * @param string $file |
||
| 16 | */ |
||
| 17 | public function __construct($file) |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return array |
||
| 24 | */ |
||
| 25 | public function read() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return bool |
||
| 36 | */ |
||
| 37 | private function fileExists() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return array |
||
| 44 | */ |
||
| 45 | private function getFileContent() |
||
| 49 | |||
| 50 | |||
| 51 | } |
||
| 52 |