Spec-Zone.ru › Symfony 3.1

TwigDataCollector

class TwigDataCollector extends DataCollector implements LateDataCollectorInterface

TwigDataCollector.

Методы

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

Сбор данных для заданного Request и Response.

lateCollect()

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

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

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

Подробности

serialize()

unserialize($data)

Параметры

$data

__construct(Twig_Profiler_Profile $profile)

Параметры

Twig_Profiler_Profile $profile

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

Сбор данных для заданного Request и Response.

Параметры

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/3.1/Symfony/Bridge/Twig/DataCollector/TwigDataCollector.html

Spec-Zone.ru

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