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

__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.

getLocales()

getAliases()

getName($locale, $displayLocale = null)

Parameters

$locale
$displayLocale

getNames($displayLocale = null)

Parameters

$displayLocale
doc_Symfony
2016-10-28 06:22:59
Comments
Leave a Comment

Please login to continue.