public static function getCurrencyBundle()
    {
        @trigger_error(sprintf('The method "%s()" is deprecated since Symfony 4.3, use "%s" instead.', __METHOD__, Currencies::class), E_USER_DEPRECATED);

        if (null === self::$currencyBundle) {
            self::$currencyBundle = new CurrencyBundle(
                self::getDataDirectory().'/'.self::CURRENCY_DIR,
                self::getEntryReader(),
                self::$localeBundle ?? self::$localeBundle = new LocaleBundle(self::getDataDirectory().'/'.self::LOCALE_DIR, self::getEntryReader())
            );
        }

        return self::$currencyBundle;
    }
public static function getCurrencyBundle()
    {
        @trigger_error(sprintf('The method "%s()" is deprecated since Symfony 4.3, use "%s" instead.', __METHOD__, Currencies::class), E_USER_DEPRECATED);

        if (null === self::$currencyBundle) {
            self::$currencyBundle = new CurrencyBundle(
                self::getDataDirectory().'/'.self::CURRENCY_DIR,
                self::getEntryReader(),
                self::$localeBundle ?? self::$localeBundle = new LocaleBundle(self::getDataDirectory().'/'.self::LOCALE_DIR, self::getEntryReader())
            );
        }

        return self::$currencyBundle;
    }
public static function getCurrencyBundle ( ) { @ trigger_error ( sprintf ( 'The method "%s()" is deprecated since Symfony 4.3, use "%s" instead.' , __METHOD__ , Currencies :: class ) , E_USER_DEPRECATED ) ; if ( null === self :: $ currencyBundle ) { self :: $ currencyBundle = new CurrencyBundle ( self :: getDataDirectory ( ) . '/' . self :: CURRENCY_DIR , self :: getEntryReader ( ) , self :: $ localeBundle ?? self :: $ localeBundle = new LocaleBundle ( self :: getDataDirectory ( ) . '/' . self :: LOCALE_DIR , self :: getEntryReader ( ) ) ) ; } return self :: $ currencyBundle ; }
Returns the bundle containing currency information.

@return CurrencyBundleInterface The currency resource bundle

@deprecated since Symfony 4.3, to be removed in 5.0. Use {@see Currencies} instead.
Returns the bundle containing currency information .