CurrencyDataProvider
class CurrencyDataProvider
Data provider for currency-related data.
Constants
INDEX_SYMBOL |
|
INDEX_NAME |
|
INDEX_FRACTION_DIGITS |
|
INDEX_ROUNDING_INCREMENT |
|
Methods
Creates a data provider that reads currency-related data from a resource bundle.
No description
No description
No description
No description
Data provider for {@link \Symfony\Component\Intl\Currency::getFractionDigits()}.
Data provider for {@link \Symfony\Component\Intl\Currency::getRoundingIncrement()}.
Data provider for {@link \Symfony\Component\Intl\Currency::getNumericCode()}.
Data provider for {@link \Symfony\Component\Intl\Currency::forNumericCode()}.
Details
at line line 52
__construct(string $path, BundleEntryReaderInterface $reader)
Creates a data provider that reads currency-related data from a resource bundle.
at line line 58
getCurrencies()
at line line 63
getSymbol($currency, $displayLocale = null)
at line line 72
getName($currency, $displayLocale = null)
at line line 81
getNames($displayLocale = null)
at line line 116
getFractionDigits($currency)
Data provider for {@link \Symfony\Component\Intl\Currency::getFractionDigits()}.
at line line 128
getRoundingIncrement($currency)
Data provider for {@link \Symfony\Component\Intl\Currency::getRoundingIncrement()}.
at line line 140
getNumericCode($currency)
Data provider for {@link \Symfony\Component\Intl\Currency::getNumericCode()}.
at line line 148
forNumericCode($numericCode)
Data provider for {@link \Symfony\Component\Intl\Currency::forNumericCode()}.