original_string: protected function openWriter()
      {
          $tempFolder = ($this->tempFolder) ? : sys_get_temp_dir();
          $this->book = new Workbook($tempFolder, $this->shouldCreateNewSheetsAutomatically, $this->defaultRowStyle);
          $this->book->addNewSheetAndMakeItCurrent();
      }
code: protected function openWriter()
      {
          $tempFolder = ($this->tempFolder) ? : sys_get_temp_dir();
          $this->book = new Workbook($tempFolder, $this->shouldCreateNewSheetsAutomatically, $this->defaultRowStyle);
          $this->book->addNewSheetAndMakeItCurrent();
      }
code_tokens: protected function openWriter ( ) { $ tempFolder = ( $ this -> tempFolder ) ? : sys_get_temp_dir ( ) ; $ this -> book = new Workbook ( $ tempFolder , $ this -> shouldCreateNewSheetsAutomatically , $ this -> defaultRowStyle ) ; $ this -> book -> addNewSheetAndMakeItCurrent ( ) ; }
docstring: 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
docstring_tokens: Configures the write and sets the current sheet pointer to a new sheet .