W3cubDocs

/Symfony 4.1

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 = 0)
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 = 0)

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.
https://api.symfony.com/4.1/Symfony/Bundle/WebProfilerBundle/Twig/WebProfilerExtension.html