RegionBundleInterface
interface RegionBundleInterface implements ResourceBundleInterface
Gives access to region-related ICU data.
Methods
string[]
getLocales()
Returns the list of locales that this bundle supports.
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.
Details
in ResourceBundleInterface at line line 26
string[]
getLocales()
Returns the list of locales that this bundle supports.
at line line 30
string|null
getCountryName(string $country, string $displayLocale = null)
Returns the name of a country.
at line line 40
string[]
getCountryNames(string $displayLocale = null)
Returns the names of all known countries.