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