public function getCountryNameFor($locale, $inLocale = null)
    {
        $locale   = '_' . Locale::sanitizeCountry($locale);
        $inLocale = Locale::sanitizeLanguage($inLocale, $this->locale);

        return \Locale::getDisplayRegion($locale, $inLocale);
    }
public function getCountryNameFor($locale, $inLocale = null)
    {
        $locale   = '_' . Locale::sanitizeCountry($locale);
        $inLocale = Locale::sanitizeLanguage($inLocale, $this->locale);

        return \Locale::getDisplayRegion($locale, $inLocale);
    }
public function getCountryNameFor ( $ locale , $ inLocale = null ) { $ locale = '_' . Locale :: sanitizeCountry ( $ locale ) ; $ inLocale = Locale :: sanitizeLanguage ( $ inLocale , $ this -> locale ) ; return \ Locale :: getDisplayRegion ( $ locale , $ inLocale ) ; }
Get country name for specified locale or country-code.

If param $inLocale is not set the result will be in the local original language.

@param Locale|string $locale   Locale (or locale part "country") to get name for.
@param Locale|string $inLocale [optional] Set the locale to display value in.

@return string
Get country name for specified locale or country - code .