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()

No description

getAliases()

No description

getName($locale, $displayLocale = null)

No description

getNames($displayLocale = null)

No description

Details

at line line 44
__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 line 50
getLocales()

at line line 55
getAliases()

at line line 66
getName($locale, $displayLocale = null)

Parameters

$locale
$displayLocale

at line line 75
getNames($displayLocale = null)

Parameters

$displayLocale