protected function openWriter()
    {
        $tempFolder = ($this->tempFolder) ? : sys_get_temp_dir();
        $this->book = new Workbook($tempFolder, $this->shouldCreateNewSheetsAutomatically, $this->defaultRowStyle);
        $this->book->addNewSheetAndMakeItCurrent();
    }
protected function openWriter()
    {
        $tempFolder = ($this->tempFolder) ? : sys_get_temp_dir();
        $this->book = new Workbook($tempFolder, $this->shouldCreateNewSheetsAutomatically, $this->defaultRowStyle);
        $this->book->addNewSheetAndMakeItCurrent();
    }
protected function openWriter ( ) { $ tempFolder = ( $ this -> tempFolder ) ? : sys_get_temp_dir ( ) ; $ this -> book = new Workbook ( $ tempFolder , $ this -> shouldCreateNewSheetsAutomatically , $ this -> defaultRowStyle ) ; $ this -> book -> addNewSheetAndMakeItCurrent ( ) ; }
Configures the write and sets the current sheet pointer to a new sheet.

@return void
@throws \Box\Spout\Common\Exception\IOException If unable to open the file for writing
Configures the write and sets the current sheet pointer to a new sheet .