File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 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::
361361 return $this->data['acceptable_content_types'];
362362 }
363363
364- // In case you want to dump collected data in the profiler
365- // you can leverage this function
366- public function getObject()
364+ public function getSomeObject()
367365 {
366+ // use the cloneVar() method to dump collected data in the profiler
368367 return $this->cloneVar($this->data['method']);
369368 }
370369 }
@@ -471,9 +470,9 @@ must also define additional blocks:
471470 </tr>
472471 {% endfor %}
473472
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 #}
475474 <tr>
476- {{ profiler_dump(collector.object ) }}
475+ {{ profiler_dump(collector.someObject ) }}
477476 </tr>
478477 </table>
479478 {% endblock %}
You can’t perform that action at this time.
0 commit comments