class RegionDataProvider

Data provider for region-related ICU data.

Methods

__construct(string $path, BundleEntryReaderInterface $reader)

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

getRegions()

No description

getName($region, $displayLocale = null)

No description

getNames($displayLocale = null)

No description

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

getRegions()

getName($region, $displayLocale = null)

Parameters

$region
$displayLocale

getNames($displayLocale = null)

Parameters

$displayLocale