public function removeZip(Zip $zip): bool {

        $archive_key = array_search($zip, $this->zip_archives, true);
        if ( $archive_key === false ) {
            throw new ZipException("Archive not found");
        }

        unset($this->zip_archives[$archive_key]);
        return true;

    }
public function removeZip(Zip $zip): bool {

        $archive_key = array_search($zip, $this->zip_archives, true);
        if ( $archive_key === false ) {
            throw new ZipException("Archive not found");
        }

        unset($this->zip_archives[$archive_key]);
        return true;

    }
public function removeZip ( Zip $ zip ) : bool { $ archive_key = array_search ( $ zip , $ this -> zip_archives , true ) ; if ( $ archive_key === false ) { throw new ZipException ( "Archive not found" ) ; } unset ( $ this -> zip_archives [ $ archive_key ] ) ; return true ; }
Remove a Zip object from manager

@param Zip $zip

@return bool
@throws ZipException
Remove a Zip object from manager