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

        if (null === self::$languageBundle) {
            self::$languageBundle = new LanguageBundle(
                self::getDataDirectory().'/'.self::LANGUAGE_DIR,
                self::getEntryReader(),
                self::$localeBundle ?? self::$localeBundle = new LocaleBundle(self::getDataDirectory().'/'.self::LOCALE_DIR, self::getEntryReader()),
                new ScriptDataProvider(
                    self::getDataDirectory().'/'.self::SCRIPT_DIR,
                    self::getEntryReader()
                )
            );
        }

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

        if (null === self::$languageBundle) {
            self::$languageBundle = new LanguageBundle(
                self::getDataDirectory().'/'.self::LANGUAGE_DIR,
                self::getEntryReader(),
                self::$localeBundle ?? self::$localeBundle = new LocaleBundle(self::getDataDirectory().'/'.self::LOCALE_DIR, self::getEntryReader()),
                new ScriptDataProvider(
                    self::getDataDirectory().'/'.self::SCRIPT_DIR,
                    self::getEntryReader()
                )
            );
        }

        return self::$languageBundle;
    }
public static function getLanguageBundle ( ) { @ trigger_error ( sprintf ( 'The method "%s()" is deprecated since Symfony 4.3, use "%s" or "%s" instead.' , __METHOD__ , Languages :: class , Scripts :: class ) , E_USER_DEPRECATED ) ; if ( null === self :: $ languageBundle ) { self :: $ languageBundle = new LanguageBundle ( self :: getDataDirectory ( ) . '/' . self :: LANGUAGE_DIR , self :: getEntryReader ( ) , self :: $ localeBundle ?? self :: $ localeBundle = new LocaleBundle ( self :: getDataDirectory ( ) . '/' . self :: LOCALE_DIR , self :: getEntryReader ( ) ) , new ScriptDataProvider ( self :: getDataDirectory ( ) . '/' . self :: SCRIPT_DIR , self :: getEntryReader ( ) ) ) ; } return self :: $ languageBundle ; }
Returns the bundle containing language information.

@return LanguageBundleInterface The language resource bundle

@deprecated since Symfony 4.3, to be removed in 5.0. Use {@see Languages} or {@see Scripts} instead.
Returns the bundle containing language information .