Box\Spout\Reader\ODS\RowIterator::isEmptyRow PHP Method

isEmptyRow() protected method

After finishing processing each cell, the last read cell is not part of the row data yet (as we still need to apply the "num-columns-repeated" attribute).
protected isEmptyRow ( array $rowData, $lastReadCellValue ) : boolean
$rowData array
return boolean Whether the row is empty
    protected function isEmptyRow($rowData, $lastReadCellValue)
    {
        return count($rowData) === 0 && (!isset($lastReadCellValue) || trim($lastReadCellValue) === '');
    }