class LanguageDataProvider
Data provider for language-related ICU data.
__construct(string $path, BundleEntryReaderInterface $reader) Creates a data provider that reads locale-related data from .res files. | ||
getLanguages() | ||
getAliases() | ||
getName($language, $displayLocale = null) | ||
getNames($displayLocale = null) | ||
getAlpha3Code($language) |
Creates a data provider that reads locale-related data from .res files.
string | $path | The path to the directory containing the .res files |
BundleEntryReaderInterface | $reader | The reader for reading the .res files |
$language | ||
$displayLocale |
$displayLocale |
$language |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Intl/Data/Provider/LanguageDataProvider.html