original_string: protected function createOrGetZip()
      {
          if (!isset($this->zip)) {
              $this->zip = new \ZipArchive();
              $zipFilePath = $this->getZipFilePath();
  
              $this->zip->open($zipFilePath, \ZipArchive::CREATE|\ZipArchive::OVERWRITE);
          }
  
          return $this->zip;
      }
code: protected function createOrGetZip()
      {
          if (!isset($this->zip)) {
              $this->zip = new \ZipArchive();
              $zipFilePath = $this->getZipFilePath();
  
              $this->zip->open($zipFilePath, \ZipArchive::CREATE|\ZipArchive::OVERWRITE);
          }
  
          return $this->zip;
      }
code_tokens: protected function createOrGetZip ( ) { if ( ! isset ( $ this -> zip ) ) { $ this -> zip = new \ ZipArchive ( ) ; $ zipFilePath = $ this -> getZipFilePath ( ) ; $ this -> zip -> open ( $ zipFilePath , \ ZipArchive :: CREATE | \ ZipArchive :: OVERWRITE ) ; } return $ this -> zip ; }
docstring: Returns the already created ZipArchive instance or
  creates one if none exists.
  
  @return \ZipArchive
docstring_tokens: Returns the already created ZipArchive instance or creates one if none exists .