8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cloneVar
profiler_dump
1 parent 0b4e088 commit 7c0ff42Copy full SHA for 7c0ff42
profiler.rst
@@ -369,6 +369,13 @@ template access to the collected information::
369
{
370
return $this->data['acceptable_content_types'];
371
}
372
+
373
+ // In case you want to dump collected data in the profiler
374
+ // you can leverage this function
375
+ public function getObject()
376
+ {
377
+ return $this->cloneVar($this->data['method']);
378
+ }
379
380
381
In the simplest case, you want to display the information in the toolbar
@@ -472,6 +479,11 @@ must also define additional blocks:
472
479
<td>{{ type }}</td>
473
480
</tr>
474
481
{% endfor %}
482
483
+ {# In case of specific object, you can leverage the profiler_dump() function #}
484
+ <tr>
485
+ {{ profiler_dump(collector.object) }}
486
+ </tr>
475
487
</table>
476
488
{% endblock %}
477
489
0 commit comments