public function getMergedVendorInfo(VendorInfo $info)
    {
        $params = array_merge($this->parameters, $info->getParameters());

        $newInfo = new VendorInfo($this->type);
        $newInfo->setParameters($params);

        return $newInfo;
    }
public function getMergedVendorInfo(VendorInfo $info)
    {
        $params = array_merge($this->parameters, $info->getParameters());

        $newInfo = new VendorInfo($this->type);
        $newInfo->setParameters($params);

        return $newInfo;
    }
public function getMergedVendorInfo ( VendorInfo $ info ) { $ params = array_merge ( $ this -> parameters , $ info -> getParameters ( ) ) ; $ newInfo = new VendorInfo ( $ this -> type ) ; $ newInfo -> setParameters ( $ params ) ; return $ newInfo ; }
Returns a new VendorInfo object that combines two VendorInfo objects.

@param  VendorInfo $info
@return VendorInfo
Returns a new VendorInfo object that combines two VendorInfo objects .