Spec-Zone.ru › Symfony 3.2

WebProfilerРасширение

класс WebProfilerРасширение наследуется от ProfilerРасширение

Расширение Twig для профилирования.

Методы

__construct(HtmlDumper $dumper = null)
enter(Profile $profile)
leave(Profile $profile)
getFunctions()

{@inheritdoc}

dumpData(Environment $env, Data $data, $maxDepth)
dumpLog(Environment $env, $message, Data $context)
dumpValue($value) устаревший
getName()

{@inheritdoc}

Подробности

__construct(HtmlDumper $dumper = null)

Параметры

HtmlDumper $dumper

enter(Profile $profile)

Параметры

Профиль $profile

leave(Profile $profile)

Параметры

Профиль $profile

getFunctions()

{@inheritdoc}

dumpData(Environment $env, Data $data, $maxDepth)

Параметры

Окружение $env
Data $data
$maxDepth

dumpLog(Environment $env, $message, Data $context)

Параметры

Окружение $env
$message
Data $context

dumpValue($value) устаревший

устаревший

с 3.2, будет удален в 4.0. Используйте метод dumpData() вместо него.

Параметры

$value

getName()

{@inheritdoc}

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.2/Symfony/Bundle/WebProfilerBundle/Twig/WebProfilerExtension.html

Spec-Zone.ru

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