class LocaleBundle extends LocaleDataProvider implements LocaleBundleInterface
Default implementation of {@link LocaleBundleInterface}.
__construct(string $path, BundleEntryReaderInterface $reader) Creates a data provider that reads locale-related data from .res files. | from LocaleDataProvider | |
getLocales() | ||
getAliases() | from LocaleDataProvider | |
getName($locale, $displayLocale = null) | from LocaleDataProvider | |
getNames($displayLocale = null) | from LocaleDataProvider | |
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. |
Creates a data provider that reads locale-related data from .res files.
Returns the name of a locale.
Returns the names of all known locales.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Intl/ResourceBundle/LocaleBundle.html