public function addZip(Zip $zip): string {

        $id = UniqueId::generate(32);
        $this->zip_archives[$id] = $zip;
        return $id;

    }
public function addZip(Zip $zip): string {

        $id = UniqueId::generate(32);
        $this->zip_archives[$id] = $zip;
        return $id;

    }
public function addZip ( Zip $ zip ) : string { $ id = UniqueId :: generate ( 32 ) ; $ this -> zip_archives [ $ id ] = $ zip ; return $ id ; }
Add a Zip object to manager and return its id

@param Zip $zip

@return string
Add a Zip object to manager and return its id