original_string: private function setZipFile($file)
      {
          $zip = new \ZipArchive();
          if (true !== $zip->open($file)) {
              throw new InternalServerErrorException('Error opening zip file.');
          }
  
          $this->zip = $zip;
          $this->zipFilePath = $file;
      }
code: private function setZipFile($file)
      {
          $zip = new \ZipArchive();
          if (true !== $zip->open($file)) {
              throw new InternalServerErrorException('Error opening zip file.');
          }
  
          $this->zip = $zip;
          $this->zipFilePath = $file;
      }
code_tokens: private function setZipFile ( $ file ) { $ zip = new \ ZipArchive ( ) ; if ( true !== $ zip -> open ( $ file ) ) { throw new InternalServerErrorException ( 'Error opening zip file.' ) ; } $ this -> zip = $ zip ; $ this -> zipFilePath = $ file ; }
docstring: Opens and sets the zip file for import.
  
  @param string $file
  
  @throws \DreamFactory\Core\Exceptions\InternalServerErrorException
docstring_tokens: Opens and sets the zip file for import .