protected function saveArchive() {
        if (!$this->archive->close() || !$this->archive->open($this->tempFile)) {
            throw new \Exception("Saving archive failed.");
        }
    }
protected function saveArchive() {
        if (!$this->archive->close() || !$this->archive->open($this->tempFile)) {
            throw new \Exception("Saving archive failed.");
        }
    }
protected function saveArchive ( ) { if ( ! $ this -> archive -> close ( ) || ! $ this -> archive -> open ( $ this -> tempFile ) ) { throw new \ Exception ( "Saving archive failed." ) ; } }
Writes the changes in the zip file to disk.
@throws \Exception
Writes the changes in the zip file to disk .