BufferedBundleReader

BufferedBundleReader

class BufferedBundleReader implements BundleReaderInterface

Methods

__construct(BundleReaderInterface $reader, int $bufferSize)

Buffers a given reader.

mixed read(string $path, string $locale)

Reads a resource bundle.

Details

__construct(BundleReaderInterface $reader, int $bufferSize)

Buffers a given reader.

Parameters

BundleReaderInterface $reader The reader to buffer
int $bufferSize The number of entries to store in the buffer.

mixed read(string $path, string $locale)

Reads a resource bundle.

Parameters

string $path The path to the resource bundle
string $locale The locale to read

Return Value

mixed Returns an array or {@link \ArrayAccess} instance for complex data, a scalar value otherwise.

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Component/Intl/Data/Bundle/Reader/BufferedBundleReader.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部