read() public static méthode

Reads file content.
public static read ( $file ) : string
Résultat string
 public function parseFromFilePath(string $filePath) : array
 {
     $fileContent = FileSystem::read($filePath);
     $eolChar = $this->eolCharDetector->detectForContent($fileContent);
     return $this->parseLegacyWithFileContentAndEolChar($fileContent, $eolChar);
 }
 public function detectForFilePath(string $filePath) : string
 {
     $content = FileSystem::read($filePath);
     return $this->detectForContent($content);
 }