Symfony\Component\Locale\Stub\StubLocale::getDisplayCurrencies
Returns the currencies names for a locale
Signature
public function getDisplayCurrencies(string
$locale )
Parameters
$locale
— string- The locale to use for the currencies names
Returns
- array
- The currencies names with their codes as keys
Errors/Exceptions
-
InvalidArgumentException
- When the locale is different than 'en'