Twig Templates & Custom Data
home_start.htm.twig
Main Template
0.51 ms
Total Render Time
707.2 KB
Memory Usage
5
Templates
1
Blocks
Rendered Templates
| # | Template | Renders | Duration | Memory | Avg/render |
|---|---|---|---|---|---|
| 1 |
public/home_start.htm.twig
main
|
1 | 0.013 ms | 1.31 KB | - |
| 2 |
@WebProfiler/Profiler/toolbar_js.html.twig
|
1 | 0.502 ms | 83.51 KB | - |
| 3 |
@WebProfiler/Profiler/toolbar.html.twig
|
1 | 0.239 ms | 9.34 KB | - |
| 4 |
@WebProfiler/Profiler/toolbar.css.twig
|
1 | 0.005 ms | 16.76 KB | - |
| 5 |
@WebProfiler/Profiler/toolbar_item.html.twig
|
1 | 0.039 ms | 1.77 KB | - |
| Total | 5 | 0.515 ms | 707.21 KB | ||
All template names (5)
public/home_start.htm.twig @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('...');
}