ScriptDataProvider

class ScriptDataProvider

Data provider for script-related ICU data.

Methods

__construct(string $path, BundleEntryReaderInterface $reader)

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

getScripts()
getName($script, $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.

getScripts()

getName($script, $displayLocale = null)

Parameters

$script
$displayLocale

getNames($displayLocale = null)

Parameters

$displayLocale

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Intl/Data/Provider/ScriptDataProvider.html