Spec-Zone.ru › Symfony 3.3

WebProfilerExtension

class WebProfilerExtension extends ProfilerExtension

Расширение 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 = null)
dumpValue($value) устаревшее
getName()

{@inheritdoc}

Подробности

__construct(HtmlDumper $dumper = null)

Параметры

HtmlDumper $dumper

enter(Profile $profile)

Параметры

Profile $profile

leave(Profile $profile)

Параметры

Profile $profile

getFunctions()

{@inheritdoc}

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

Параметры

Environment $env
Data $data
$maxDepth

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

Параметры

Environment $env
$message
Data $context

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

устаревшее

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

Параметры

$value

getName()

{@inheritdoc}

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

Spec-Zone.ru

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