name: BundleEntryReader class_comment: '# * Default implementation of {@link BundleEntryReaderInterface}. # * # * @author Bernhard Schussek # * # * @see BundleEntryReaderInterface # * # * @internal' dependencies: - name: RecursiveArrayAccess type: class source: Symfony\Component\Intl\Data\Util\RecursiveArrayAccess - name: MissingResourceException type: class source: Symfony\Component\Intl\Exception\MissingResourceException - name: OutOfBoundsException type: class source: Symfony\Component\Intl\Exception\OutOfBoundsException - name: ResourceBundleNotFoundException type: class source: Symfony\Component\Intl\Exception\ResourceBundleNotFoundException - name: Locale type: class source: Symfony\Component\Intl\Locale properties: [] methods: - name: __construct visibility: public parameters: - name: reader comment: "# * Default implementation of {@link BundleEntryReaderInterface}.\n# *\n\ # * @author Bernhard Schussek \n# *\n# * @see BundleEntryReaderInterface\n\ # *\n# * @internal\n# */\n# class BundleEntryReader implements BundleEntryReaderInterface\n\ # {\n# /**\n# * A mapping of locale aliases to locales.\n# */\n# private array\ \ $localeAliases = [];\n# \n# /**\n# * Creates an entry reader based on the given\ \ resource bundle reader." - name: setLocaleAliases visibility: public parameters: - name: localeAliases comment: '# * Stores a mapping of locale aliases to locales. # * # * This mapping is used when reading entries and merging them with their # * fallback locales. If an entry is read for a locale alias (e.g. "mo") # * that points to a locale with a fallback locale ("ro_MD"), the reader # * can continue at the correct fallback locale ("ro"). # * # * @param array $localeAliases A mapping of locale aliases to locales' - name: read visibility: public parameters: - name: path - name: locale comment: null - name: readEntry visibility: public parameters: - name: path - name: locale - name: indices - name: fallback default: 'true' comment: null traits: - Symfony\Component\Intl\Data\Util\RecursiveArrayAccess - Symfony\Component\Intl\Exception\MissingResourceException - Symfony\Component\Intl\Exception\OutOfBoundsException - Symfony\Component\Intl\Exception\ResourceBundleNotFoundException - Symfony\Component\Intl\Locale interfaces: - BundleEntryReaderInterface