- Author
- Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com
Definition at line 17 of file Html.php.
◆ dump()
Definition at line 26 of file Html.php.
28 return '<pre>'.parent::dump($profile).
'</pre>';
◆ formatNonTemplate()
◆ formatTemplate()
◆ formatTime()
Definition at line 41 of file Html.php.
References Twig_Profiler_Profile\getDuration().
43 return sprintf(
'<span style="color: %s">%.2fms/%.0f%%</span>', $percent > 20 ? self::$colors[
'big'] :
'auto', $profile->
getDuration() * 1000, $percent);
getDuration()
Returns the duration in microseconds.
◆ $colors
Twig_Profiler_Dumper_Html::$colors |
|
staticprivate |
Initial value: 'block' => '#dfd',
'macro' => '#ddf',
'template' => '#ffd',
'big' => '#d44',
)
Definition at line 19 of file Html.php.
The documentation for this class was generated from the following file:
- libs/composer/vendor/twig/twig/lib/Twig/Profiler/Dumper/Html.php