WebProfilerExtension

class WebProfilerExtension extends ProfilerExtension

Twig extension for the profiler.

Methods

__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)
getName()

{@inheritdoc}

Details

__construct(HtmlDumper $dumper = null)

Parameters

HtmlDumper $dumper

enter(Profile $profile)

Parameters

Profile $profile

leave(Profile $profile)

Parameters

Profile $profile

getFunctions()

{@inheritdoc}

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

Parameters

Environment $env
Data $data
$maxDepth

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

Parameters

Environment $env
$message
Data $context

getName()

{@inheritdoc}

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