Data\Provider\LocaleDataProvider (Component\Intl)
Symfony\Component\Intl\Data\Provider\LocaleDataProvider
class LocaleDataProvider
Data provider for locale-related ICU data.
Methods
__construct(string $path, BundleEntryReaderInterface $reader) Creates a data provider that reads locale-related data from .res files. | ||
getLocales() | ||
getAliases() | ||
getName($locale, $displayLocale = null) | ||
getNames($displayLocale = null) |
Details
public __construct(string $path, BundleEntryReaderInterface $reader)
Creates a data provider that reads locale-related data from .res files.
public getLocales()
public getAliases()
public getName($locale, $displayLocale = null)
public getNames($displayLocale = null)
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Intl/Data/Provider/LocaleDataProvider.html