File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -361,10 +361,9 @@ template access to the collected information::
361
361
return $this->data['acceptable_content_types'];
362
362
}
363
363
364
- // In case you want to dump collecte
C0B8
d data in the profiler
365
- // you can leverage this function
366
- public function getObject()
364
+ public function getSomeObject()
367
365
{
366
+ // use the cloneVar() method to dump collected data in the profiler
368
367
return $this->cloneVar($this->data['method']);
369
368
}
370
369
}
@@ -471,9 +470,9 @@ must also define additional blocks:
471
470
</tr>
472
471
{% endfor %}
473
472
474
- {# In case of specific object, you can leverage the profiler_dump() function #}
473
+ {# use the profiler_dump() function to render the contents of dumped objects #}
475
474
<tr>
476
- {{ profiler_dump(collector.object ) }}
475
+ {{ profiler_dump(collector.someObject ) }}
477
476
</tr>
478
477
</table>
479
478
{% endblock %}
You can’t perform that action at this time.
0 commit comments