ResourceBundle\LocaleBundleInterface (Component\Intl)
Symfony\Component\Intl\ResourceBundle\LocaleBundleInterface
interface LocaleBundleInterface implements ResourceBundleInterface
Gives access to locale-related ICU data.
Methods
string[] | getLocales() Returns the list of locales that this bundle supports. | from ResourceBundleInterface |
string|null | getLocaleName(string $locale, string $displayLocale = null) Returns the name of a locale. | |
string[] | getLocaleNames(string $displayLocale = null) Returns the names of all known locales. |
Details
public string[] getLocales()
Returns the list of locales that this bundle supports.
public string|null getLocaleName(string $locale, string $displayLocale = null)
Returns the name of a locale.
public string[] getLocaleNames(string $displayLocale = null)
Returns the names of all known locales.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Intl/ResourceBundle/LocaleBundleInterface.html