8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
cloneVar
profiler_dump
1 parent 38391bf commit 4cb24b9Copy full SHA for 4cb24b9
profiler.rst
@@ -360,6 +360,13 @@ template access to the collected information::
360
{
361
return $this->data['acceptable_content_types'];
362
}
363
+
364
+ // In case you want to dump collected data in the profiler
365
+ // you can leverage this function
366
+ public function getObject()
367
+ {
368
+ return $this->cloneVar($this->data['method']);
369
+ }
370
371
372
In the simplest case, you want to display the information in the toolbar
@@ -463,6 +470,11 @@ must also define additional blocks:
463
470
<td>{{ type }}</td>
464
471
</tr>
465
472
{% endfor %}
473
474
+ {# In case of specific object, you can leverage the profiler_dump() function #}
475
+ <tr>
476
+ {{ profiler_dump(collector.object) }}
477
+ </tr>
466
478
</table>
467
479
{% endblock %}
468
480
0 commit comments