LocaleDataProvider::getName()

getName($locale, $displayLocale = null) Parameters $locale $displayLocale

LocaleDataProvider::getLocales()

getLocales()

LocaleDataProvider::getAliases()

getAliases()

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-rel

LocaleDataGenerator

class LocaleDataGenerator The rule for compiling the locale bundle. Methods __construct($dirName, LanguageDataProvider $languageDataProvider, ScriptDataProvider $scriptDataProvider, RegionDataProvider $regionDataProvider) generateData(GeneratorConfig $config) {@inheritdoc} Details __construct($dirName, LanguageDataProvider $languageDataProvider, ScriptDataProvider $scriptDataProvider, RegionDataProvider $regionDataProvider) Parameters $

LocaleBundleTransformationRule::getBundleName()

string getBundleName() Returns the name of the compiled resource bundle. Return Value string The name of the bundle.

LocaleBundleTransformationRule::beforeCreateStub()

mixed beforeCreateStub(StubbingContextInterface $context) Runs instructions to be executed before creating the stub version of the resource bundle. Parameters StubbingContextInterface $context The contextual information of the compilation. Return Value mixed The data to include in the stub version.

LocaleBundleTransformationRule::beforeCompile()

string[] beforeCompile(CompilationContextInterface $context) Runs instructions to be executed before compiling the sources of the resource bundle. Parameters CompilationContextInterface $context The contextual information of the compilation. Return Value string[] The source directories/files of the bundle.

LocaleBundleTransformationRule::afterCreateStub()

afterCreateStub(StubbingContextInterface $context) Runs instructions to be executed after creating the stub version of the resource bundle. Parameters StubbingContextInterface $context The contextual information of the compilation.

LocaleBundleTransformationRule::afterCompile()

afterCompile(CompilationContextInterface $context) Runs instructions to be executed after compiling the sources of the resource bundle. Parameters CompilationContextInterface $context The contextual information of the compilation.