CurrencyDataProvider::getNames()

getNames($displayLocale = null) Parameters $displayLocale

CurrencyDataProvider::getName()

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

CurrencyDataProvider::getFractionDigits()

getFractionDigits($currency) Data provider for {@link \Symfony\Component\Intl\Currency::getFractionDigits()}. Parameters $currency

CurrencyDataProvider::getCurrencies()

getCurrencies()

CurrencyDataProvider::forNumericCode()

forNumericCode($numericCode) Data provider for {@link \Symfony\Component\Intl\Currency::forNumericCode()}. Parameters $numericCode

CurrencyDataProvider

class CurrencyDataProvider Data provider for currency-related data. Constants INDEX_SYMBOL INDEX_NAME INDEX_FRACTION_DIGITS INDEX_ROUNDING_INCREMENT Methods __construct(string $path, BundleEntryReaderInterface $reader) Creates a data provider that reads currency-related data from a resource bundle. getCurrencies() getSymbol($currency, $displayLocale = null) getName($currency, $displayLocale = null) getNames($displayLocale = null) getFraction

CurrencyDataGenerator

class CurrencyDataGenerator extends AbstractDataGenerator The rule for compiling the currency bundle. Constants UNKNOWN_CURRENCY_ID EUROPEAN_COMPOSITE_UNIT_ID EUROPEAN_MONETARY_UNIT_ID EUROPEAN_UNIT_OF_ACCOUNT_XBC_ID EUROPEAN_UNIT_OF_ACCOUNT_XBD_ID TESTING_CURRENCY_CODE_ID ADB_UNIT_OF_ACCOUNT_ID GOLD_ID SILVER_ID PLATINUM_ID PALLADIUM_ID SUCRE_ID SPECIAL_DRAWING_RIGHTS_ID Methods __construct(GenrbCompiler $compiler, $dirName) from A

CurrencyBundleTransformationRule::getBundleName()

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

CurrencyBundleTransformationRule::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.

CurrencyBundleTransformationRule::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.