public function getMergedVendorInfo(VendorInfo $merge)
    {
        $newParams = array_merge($this->getParameters(), $merge->getParameters());
        $newInfo = new VendorInfo($this->getType());
        $newInfo->setParameters($newParams);

        return $newInfo;
    }
public function getMergedVendorInfo(VendorInfo $merge)
    {
        $newParams = array_merge($this->getParameters(), $merge->getParameters());
        $newInfo = new VendorInfo($this->getType());
        $newInfo->setParameters($newParams);

        return $newInfo;
    }
public function getMergedVendorInfo ( VendorInfo $ merge ) { $ newParams = array_merge ( $ this -> getParameters ( ) , $ merge -> getParameters ( ) ) ; $ newInfo = new VendorInfo ( $ this -> getType ( ) ) ; $ newInfo -> setParameters ( $ newParams ) ; return $ newInfo ; }
Gets a new merged VendorInfo object.

@param VendorInfo $info

@return VendorInfo new object with merged parameters
Gets a new merged VendorInfo object .