* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Intl\Data\Bundle\Reader; use Symfony\Component\Intl\Exception\MissingResourceException; /** * Reads individual entries of a resource file. * * @author Bernhard Schussek * * @internal */ interface BundleEntryReaderInterface extends BundleReaderInterface { /** * Reads an entry from a resource bundle. * * An entry can be selected from the resource bundle by passing the path * to that entry in the bundle. For example, if the bundle is structured * like this: * * TopLevel * NestedLevel * Entry: Value * * Then the value can be read by calling: * * $reader->readEntry('...', 'en', array('TopLevel', 'NestedLevel', 'Entry')); * * @param string $path The path to the resource bundle * @param string $locale The locale to read * @param string[] $indices The indices to read from the bundle * @param bool $fallback Whether to merge the value with the value from * the fallback locale (e.g. "en" for "en_GB"). * Only applicable if the result is multivalued * (i.e. array or \ArrayAccess) or cannot be found * in the requested locale. * * @return mixed returns an array or {@link \ArrayAccess} instance for * complex data and a scalar value for simple data * * @throws MissingResourceException If the indices cannot be accessed */ public function readEntry($path, $locale, array $indices, $fallback = true); } __halt_compiler();----SIGNATURE:----PjrryVO1Peg+3Cr8WZbC9cHGc/34G4bkAlPbkiyxvK4lX1Y0zMmsgJu0dqViXVGqYIWEAk9DwVhL/X1jPSNEyKLFL5X4cT7JLPOMfHKh2Ps63B1RiI66gSrquBg/ogUujGFzrakyzUxzz9ORCIhrxt8MM/RUJoAoFQ7IM2lxvZr9jbm5V2t+6hiV+8LlRWUe6clHWo7bbkTSDTgKWCRIple0nXwIao7s7OIL9SbUf9ERTzhMyBXDE49YPIQRhDj8kprRNm5xLTeyxEa5OnaYC/K377Cx2WS8QirI5cywoW801STVyVUp8RehGLERwoG63QD5lr8tpV27p7YBNnZkEdFAholLnziFnHxN9LE3RB9dMXieWyZ+rEus3PrnO5fBQShhfTi8th6CWfJ8afVLOG7gHjdeVCa788vB9dIGjAka90lZ7LXPKAXCflf6E4PWyRfrGAeTnCVV3lgpehaLoYt+ldeMuOgJQWzzyq0CkF0cu5SPoXiWnj2RC2Hfn+taIreeRRQVXecjam0Jdxq75WIMbS/4S7V2BZo/Dpjzy3zy5ZQwFncq8NJPvP2dNgWh7NUpf9T15KY3x5cdgskMa9eVbILwVDHqKDnkjKL5FPq9wwKDUrSemyi+QjsdWIa1+uRg2vya0Qm27HoqLZobjQdZ/vZ0/Rjt/Xoy4W8aTCw=----ATTACHMENT:----Mjc5NDQwMTQyNzM2ODEwMyAxMjY2ODIwNDI2MTIzODQ5IDEzMzYxOTA1MzU5OTYzNTQ=