| 1 | <?php |
||
| 14 | final class FileToTokensParser |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var EolCharDetector |
||
| 18 | */ |
||
| 19 | private $eolCharDetector; |
||
| 20 | |||
| 21 | 1 | public function __construct(EolCharDetector $eolCharDetector) |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @var stdClass |
||
| 28 | */ |
||
| 29 | private $legacyConfig; |
||
| 30 | |||
| 31 | 1 | public function parseFromFilePath(string $filePath) : array |
|
| 38 | |||
| 39 | 1 | private function parseLegacyWithFileContentAndEolChar($fileContent, $eolChar) : array |
|
| 43 | |||
| 44 | 1 | private function getLegacyConfig() : stdClass |
|
| 56 | } |
||
| 57 |