else { $lineGenerator = LineReader::
readLines($file);
} if (!\
is_int($offset)) { $offset = 0;
} if (!\
is_int($limit)) { $limit = -1;
} $reader =
new LimitIterator($lineGenerator,
$offset,
$limit);
$result =
[];
foreach ($reader as $line) { $result[] =
$this->
parseLine($line);
} return $result;
} /**
* @param string $filePath
*
* @return int
*/