Spec-Zone.ru › Symfony 3.4

BufferedBundleReader

class BufferedBundleReader implements BundleReaderInterface

Методы

__construct(BundleReaderInterface $reader, int $bufferSize)

Буферизует заданный читатель.

mixed read(string $path, string $locale)

Считывает ресурсный пакет.

Детали

__construct(BundleReaderInterface $reader, int $bufferSize)

Буферизует заданный читатель.

Параметры

BundleReaderInterface $reader Читатель для буферизации
int $bufferSize Количество записей для хранения в буфере

mixed read(string $path, string $locale)

Считывает ресурсный пакет.

Параметры

string $path Путь к ресурсному пакету
string $locale Язык для чтения

Возвращаемое значение

mixed возвращает массив или экземпляр {@link \ArrayAccess} для сложных данных, в противном случае скалярное значение

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API