Spec-Zone.ru › Symfony 2.8

TwigDataCollector

class TwigDataCollector extends DataCollector implements LateDataCollectorInterface

TwigDataCollector.

Методы

serialize() from DataCollector
unserialize($data) from DataCollector
__construct(Profile $profile)
collect(Request $request, Response $response, Exception $exception = null)

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

lateCollect()

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

getTime()
getTemplateCount()
getTemplates()
getBlockCount()
getMacroCount()
getHtmlCallGraph()
getProfile()
строка getName()

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

Подробности

serialize()

unserialize($data)

Параметры

$data

__construct(Profile $profile)

Параметры

Profile $profile

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

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

Параметры

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

lateCollect()

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

getTime()

getTemplateCount()

getTemplates()

getBlockCount()

getMacroCount()

getHtmlCallGraph()

getProfile()

строка getName()

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

Значение возврата

строка Имя коллектора

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Bridge/Twig/DataCollector/TwigDataCollector.html

Spec-Zone.ru

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