Box\Spout\Reader\AbstractReader::setShouldPreserveEmptyRows PHP Method

setShouldPreserveEmptyRows() public method

Sets whether empty rows should be returned or skipped.
public setShouldPreserveEmptyRows ( boolean $shouldPreserveEmptyRows ) : AbstractReader
$shouldPreserveEmptyRows boolean
return AbstractReader
    public function setShouldPreserveEmptyRows($shouldPreserveEmptyRows)
    {
        $this->getOptions()->setShouldPreserveEmptyRows($shouldPreserveEmptyRows);
        return $this;
    }