public function getVendorInfoForType($type)
    {
        if (isset($this->vendorInfos[$type])) {
            return $this->vendorInfos[$type];
        } else {
            // return an empty object
            return new VendorInfo($type);
        }
    }
public function getVendorInfoForType($type)
    {
        if (isset($this->vendorInfos[$type])) {
            return $this->vendorInfos[$type];
        } else {
            // return an empty object
            return new VendorInfo($type);
        }
    }
public function getVendorInfoForType ( $ type ) { if ( isset ( $ this -> vendorInfos [ $ type ] ) ) { return $ this -> vendorInfos [ $ type ] ; } else { // return an empty object return new VendorInfo ( $ type ) ; } }
Gets the any associated VendorInfo object.

@return VendorInfo
Gets the any associated VendorInfo object .