class CurrencyDataProvider
Data provider for currency-related data.
INDEX_SYMBOL | |
INDEX_NAME | |
INDEX_FRACTION_DIGITS | |
INDEX_ROUNDING_INCREMENT |
__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) | ||
getFractionDigits($currency) Data provider for {@link \Symfony\Component\Intl\Currency::getFractionDigits()}. | ||
getRoundingIncrement($currency) Data provider for {@link \Symfony\Component\Intl\Currency::getRoundingIncrement()}. | ||
getNumericCode($currency) Data provider for {@link \Symfony\Component\Intl\Currency::getNumericCode()}. | ||
forNumericCode($numericCode) Data provider for {@link \Symfony\Component\Intl\Currency::forNumericCode()}. |
Creates a data provider that reads currency-related data from a resource bundle.
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()}.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.2/Symfony/Component/Intl/Data/Provider/CurrencyDataProvider.html