class LanguageDataProvider

Data provider for language-related ICU data.

Methods

__construct(string $path, BundleEntryReaderInterface $reader)

Creates a data provider that reads locale-related data from .res files.

getLanguages()

No description

getAliases()

No description

getName($language, $displayLocale = null)

No description

getNames($displayLocale = null)

No description

getAlpha3Code($language)

No description

Details

at line 35
__construct(string $path, BundleEntryReaderInterface $reader)

Creates a data provider that reads locale-related data from .res files.

Parameters

string $path The path to the directory containing the .res files
BundleEntryReaderInterface $reader The reader for reading the .res files

at line 41
getLanguages()

at line 46
getAliases()

at line 51
getName($language, $displayLocale = null)

Parameters

$language
$displayLocale

at line 60
getNames($displayLocale = null)

Parameters

$displayLocale

at line 78
getAlpha3Code($language)

Parameters

$language