public static function getDisplayCurrencies($locale)
    {
        if (null === self::$currenciesNames) {
            self::prepareCurrencies($locale);
        }

        return self::$currenciesNames;
    }
public static function getDisplayCurrencies($locale)
    {
        if (null === self::$currenciesNames) {
            self::prepareCurrencies($locale);
        }

        return self::$currenciesNames;
    }
public static function getDisplayCurrencies ( $ locale ) { if ( null === self :: $ currenciesNames ) { self :: prepareCurrencies ( $ locale ) ; } return self :: $ currenciesNames ; }
Returns the currencies names for a locale.

@param string $locale The locale to use for the currencies names

@return array The currencies names with their codes as keys

@throws \InvalidArgumentException When the locale is different than 'en'
Returns the currencies names for a locale .