Symfony\Component\Intl\ResourceBundle\RegionBundleInterface::getCountryName
Returns the name of a country.
Signature
public function getCountryName(string
$country,
[string
$locale = null] )
Parameters
$country
— string- A country code (e.g. "US").
$locale
— string- Optional. The locale to return the name in.
Defaults to .
Returns
- string|null
- The name of the country or NULL if not found.