original_string: protected function openWriter()
      {
          if ($this->shouldAddBOM) {
              // Adds UTF-8 BOM for Unicode compatibility
              $this->globalFunctionsHelper->fputs($this->filePointer, EncodingHelper::BOM_UTF8);
          }
      }
code: protected function openWriter()
      {
          if ($this->shouldAddBOM) {
              // Adds UTF-8 BOM for Unicode compatibility
              $this->globalFunctionsHelper->fputs($this->filePointer, EncodingHelper::BOM_UTF8);
          }
      }
code_tokens: protected function openWriter ( ) { if ( $ this -> shouldAddBOM ) { // Adds UTF-8 BOM for Unicode compatibility $ this -> globalFunctionsHelper -> fputs ( $ this -> filePointer , EncodingHelper :: BOM_UTF8 ) ; } }
docstring: Opens the CSV streamer and makes it ready to accept data.
  
  @return void
docstring_tokens: Opens the CSV streamer and makes it ready to accept data .