W3cubDocs

/Symfony 3.3

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)
dumpValue($value) deprecated
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

dumpValue($value) deprecated

deprecated

since 3.2, to be removed in 4.0. Use the dumpData() method instead.

Parameters

$value

getName()

{@inheritdoc}

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