private static function getEntryReader()
    {
        if (null === self::$entryReader) {
            self::$entryReader = new BundleEntryReader(new BufferedBundleReader(
                new JsonBundleReader(),
                self::BUFFER_SIZE
            ));
            $localeDataProvider = new LocaleDataProvider(
                self::getDataDirectory().'/'.self::LOCALE_DIR,
                self::$entryReader
            );
            self::$entryReader->setLocaleAliases($localeDataProvider->getAliases());
        }

        return self::$entryReader;
    }
private static function getEntryReader()
    {
        if (null === self::$entryReader) {
            self::$entryReader = new BundleEntryReader(new BufferedBundleReader(
                new JsonBundleReader(),
                self::BUFFER_SIZE
            ));
            $localeDataProvider = new LocaleDataProvider(
                self::getDataDirectory().'/'.self::LOCALE_DIR,
                self::$entryReader
            );
            self::$entryReader->setLocaleAliases($localeDataProvider->getAliases());
        }

        return self::$entryReader;
    }
private static function getEntryReader ( ) { if ( null === self :: $ entryReader ) { self :: $ entryReader = new BundleEntryReader ( new BufferedBundleReader ( new JsonBundleReader ( ) , self :: BUFFER_SIZE ) ) ; $ localeDataProvider = new LocaleDataProvider ( self :: getDataDirectory ( ) . '/' . self :: LOCALE_DIR , self :: $ entryReader ) ; self :: $ entryReader -> setLocaleAliases ( $ localeDataProvider -> getAliases ( ) ) ; } return self :: $ entryReader ; }
Returns the cached bundle entry reader.

@return BundleEntryReaderInterface The bundle entry reader
Returns the cached bundle entry reader .