Spec-Zone.ru › Symfony 3.1

TranslationDataCollector

class TranslationDataCollector extends DataCollector implements LateDataCollectorInterface

Методы

serialize() из DataCollector
unserialize($data) из DataCollector
__construct(DataCollectorTranslator $translator)
lateCollect()

Сбор данных как можно позже.

collect(Request $request, Response $response, Exception $exception = null)

Сбор данных для заданного запроса и ответа.

array getMessages()
int getCountMissings()
int getCountFallbacks()
int getCountDefines()
string getName()

Возвращает имя сборщика.

Подробности

serialize()

unserialize($data)

Параметры

$data

__construct(DataCollectorTranslator $translator)

Параметры

DataCollectorTranslator $translator

lateCollect()

Сбор данных как можно позже.

collect(Request $request, Response $response, Exception $exception = null)

Сбор данных для заданного запроса и ответа.

Параметры

Request $request Экземпляр Request
Response $response Экземпляр Response
Exception $exception Экземпляр Exception

array getMessages()

Значение результата

array

int getCountMissings()

Значение результата

int

int getCountFallbacks()

Значение результата

int

int getCountDefines()

Значение результата

int

string getName()

Возвращает имя сборщика.

Значение результата

string Имя сборщика

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Translation/DataCollector/TranslationDataCollector.html

Spec-Zone.ru

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