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;

    }
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;

    }
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 ; }
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
Set files to skip