Box\Spout\Reader\CSV\ReaderOptions::setEndOfLineCharacter PHP Method

setEndOfLineCharacter() public method

Needs to be called before opening the reader.
public setEndOfLineCharacter ( string $endOfLineCharacter ) : ReaderOptions
$endOfLineCharacter string used to properly get lines from the CSV file.
return ReaderOptions
    public function setEndOfLineCharacter($endOfLineCharacter)
    {
        $this->endOfLineCharacter = $endOfLineCharacter;
        return $this;
    }