original_string: public function setSkipMode(string $mode): ZipInterface {
  
          $mode = strtoupper($mode);
  
          if ( !in_array($mode, $this->supported_skip_modes) ) {
              throw new ZipException("Unsupported skip mode: $mode");
          }
  
          $this->skip_mode = $mode;
  
          return $this;
  
      }
code: public function setSkipMode(string $mode): ZipInterface {
  
          $mode = strtoupper($mode);
  
          if ( !in_array($mode, $this->supported_skip_modes) ) {
              throw new ZipException("Unsupported skip mode: $mode");
          }
  
          $this->skip_mode = $mode;
  
          return $this;
  
      }
code_tokens: public function setSkipMode ( string $ mode ) : ZipInterface { $ mode = strtoupper ( $ mode ) ; if ( ! in_array ( $ mode , $ this -> supported_skip_modes ) ) { throw new ZipException ( "Unsupported skip mode: $mode" ) ; } $ this -> skip_mode = $ mode ; return $ this ; }
docstring: Set files to skip
  
  Supported skip modes:
  Zip::SKIP_NONE - skip no files
  Zip::SKIP_HIDDEN - skip hidden files
  Zip::SKIP_ALL - skip HIDDEN + COMODOJO ghost files
  Zip::SKIP_COMODOJO - skip comodojo ghost files
  
  @param string $mode Skip file mode
  
  @return  Zip
  @throws  ZipException
docstring_tokens: Set files to skip