Box\Spout\Writer\ODS\Writer::addRowToWriter PHP Method

addRowToWriter() protected method

If shouldCreateNewSheetsAutomatically option is set to true, it will handle pagination with the creation of new worksheets if one worksheet has reached its maximum capicity.
protected addRowToWriter ( array $dataRow, Style $style ) : void
$dataRow array Array containing data to be written. Example $dataRow = ['data1', 1234, null, '', 'data5'];
$style Box\Spout\Writer\Style\Style Style to be applied to the row.
return void
    protected function addRowToWriter(array $dataRow, $style)
    {
        $this->throwIfBookIsNotAvailable();
        $this->book->addRowToCurrentWorksheet($dataRow, $style);
    }