src/LinesParser.php
private function fileToCodaLines(string $codaFile): array
	{
		return array_map(
			function($line) {
				return mb_convert_encoding($line, "UTF-8", "ISO-8859-1");
			},
			file($codaFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES));
	}
private function fileToCodaLines(string $codaFile): array
	{
		return array_map(
			function($line) {
				return mb_convert_encoding($line, "UTF-8", "ISO-8859-1");
			},
			file($codaFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES));
	}
private function fileToCodaLines ( string $ codaFile ) : array { return array_map ( function ( $ line ) { return mb_convert_encoding ( $ line , "UTF-8" , "ISO-8859-1" ) ; } , file ( $ codaFile , FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES ) ) ; }
Read contents from file and put every line as an entry in the result array

@param string $codaFile Filepath
@return string[]
Read contents from file and put every line as an entry in the result array