class BufferedBundleReader implements BundleReaderInterface
__construct(BundleReaderInterface $reader, integer $bufferSize) Buffers a given reader. | ||
mixed | read(string $path, string $locale) Reads a resource bundle. | |
string[] | getLocales(string $path) Reads the available locales of a resource bundle. |
Buffers a given reader.
BundleReaderInterface | $reader | The reader to buffer. |
integer | $bufferSize | The number of entries to store in the buffer. |
Reads a resource bundle.
string | $path | The path to the resource bundle. |
string | $locale | The locale to read. |
mixed | Returns an array or {@link \ArrayAccess} instance for complex data, a scalar value otherwise. |
Reads the available locales of a resource bundle.
string | $path | The path to the resource bundle. |
string[] | A list of supported locale codes. |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Intl/ResourceBundle/Reader/BufferedBundleReader.html