* * 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:----h5s7agG12TYLBfomljhi365QkYYZUN4tP0lOKhF00Kq0nWwLy1oEqbR8+BAz9SUbRESqhPHhEGYrTk+t1jR4PQarhjY4wjqmGnqaMF4Rs+uXIddqS3CGV1mwhQw1pFkfOLEV81KtWaUEvrfGmozL+nRT3f5vjvdQ0e3t55a3w7cwmCvIguGHM2gEIcC+HRIAhU8S4Vk1yOfpzVNcrhmn4nbgbXkK4Ku84gXvveVCmlWmbzTUcowv19fOV4amf7ROeC9/eHm2JH26Vd4dIfPkHyQp1Yxjmi9RKoMcbncbRJMKmCu8O8scx5Ll+e/IMkeR51697sba10KrcJ09rYZXq6/wmNtOwa8afshPTyoUzyqkL50w53ardmXa+vX4lVaJooqkv0OGPMVvayu1th2p9GVTrKhZZX+vqeRUmrjdNhCxagZMHbt1HU0+Ypf3wMjW4FfQeSDGiuSlnyS0zrqd54Z/ZTpT00r254HWyepuMjy6THyZNN1AhQwTWt+owOYU7kAUkRUsBAfOsEp24/JkNWynFvfv48JoVgqN0VbqrNRPGJXwb+rtY5QAmiN01G++QdRab5iLmt2uKEgmXQxb4V8P+QtIyytNG9gyoSoSFBeIs599SSu+tsou5+5xrkts9Jb4hs40VXq4wDqaNFzk0oohh9DhVOov7DDfW6bjr8k=----ATTACHMENT:----MTUzMDAwMTk3MzA1Nzg3NCA0NzE0NTkyODMyODI5NjE4IDcxMjI3MjkyNzAxODkzMQ==