interface RegionBundleInterface implements ResourceBundleInterface
Gives access to region-related ICU data.
string[] | getLocales() Returns the list of locales that this bundle supports. | from ResourceBundleInterface |
string|null | getCountryName(string $country, string $displayLocale = null) Returns the name of a country. | |
string[] | getCountryNames(string $displayLocale = null) Returns the names of all known countries. |
Returns the list of locales that this bundle supports.
string[] | A list of locale codes |
Returns the name of a country.
string | $country | A country code (e.g. "US") |
string | $displayLocale | Optional. The locale to return the name in Defaults to {@link \Locale::getDefault()}. |
string|null | The name of the country or NULL if not found |
Returns the names of all known countries.
string | $displayLocale | Optional. The locale to return the names in Defaults to {@link \Locale::getDefault()}. |
string[] | A list of country names indexed by country codes |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Intl/ResourceBundle/RegionBundleInterface.html