CurrencyBundleInterface::getCurrencyName()

string|null getCurrencyName(string $currency, string $displayLocale = null)

Returns the name of a currency.

Parameters

string $currency A currency code (e.g. "EUR")
string $displayLocale Optional. The locale to return the name in Defaults to {@link \Locale::getDefault()}.

Return Value

string|null The name of the currency or NULL if not found
doc_Symfony
2016-10-28 06:12:48
Comments
Leave a Comment

Please login to continue.