W3cubDocs

/Symfony 3.2

WebProfilerExtension

class WebProfilerExtension extends Twig_Extension_Profiler

Twig extension for the profiler.

Methods

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

{@inheritdoc}

dumpData(Twig_Environment $env, Data $data, $maxDepth)
dumpLog(Twig_Environment $env, $message, Data $context)
dumpValue($value) deprecated
getName()

{@inheritdoc}

Details

__construct(HtmlDumper $dumper = null)

Parameters

HtmlDumper $dumper

enter(Twig_Profiler_Profile $profile)

Parameters

Twig_Profiler_Profile $profile

leave(Twig_Profiler_Profile $profile)

Parameters

Twig_Profiler_Profile $profile

getFunctions()

{@inheritdoc}

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

Parameters

Twig_Environment $env
Data $data
$maxDepth

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

Parameters

Twig_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–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.2/Symfony/Bundle/WebProfilerBundle/Twig/WebProfilerExtension.html