Twig Templates & Custom Data
toolbar_js.html.twig
Main Template
0.67 ms
Total Render Time
1139.7 KB
Memory Usage
4
Templates
1
Blocks
Rendered Templates
| # | Template | Renders | Duration | Memory | Avg/render |
|---|---|---|---|---|---|
| 1 |
@WebProfiler/Profiler/toolbar_js.html.twig
main
|
1 | 0.666 ms | 84.06 KB | - |
| 2 |
@WebProfiler/Profiler/toolbar.html.twig
|
1 | 0.295 ms | 9.34 KB | - |
| 3 |
@WebProfiler/Profiler/toolbar.css.twig
|
1 | 0.006 ms | 16.76 KB | - |
| 4 |
@WebProfiler/Profiler/toolbar_item.html.twig
|
1 | 0.040 ms | 1.77 KB | - |
| Total | 4 | 0.666 ms | 1139.74 KB | ||
All template names (4)
@WebProfiler/Profiler/toolbar_js.html.twig @WebProfiler/Profiler/toolbar.html.twig @WebProfiler/Profiler/toolbar.css.twig @WebProfiler/Profiler/toolbar_item.html.twig
Custom Controller Data
No custom data. Use ToolbarDataBag in your controller to pass data.
Usage example
public function index(ToolbarDataBag $toolbarData): Response
{
$toolbarData->set('message', 'My message');
$toolbarData->set('count', 42);
return $this->render('...');
}