CurrencyBundle::getCurrencySymbol()

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

Returns the symbol used for a currency.

Parameters

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

Return Value

string|null The currency symbol or NULL if not found.
doc_Symfony
2016-10-28 06:12:47
Comments
Leave a Comment

Please login to continue.