Dump
This function dumps variable to the template.
Parameters
dump(var)
parameter | type | required | description |
---|---|---|---|
var | mixed | ✓ | Variable to be dumped |
Example
# file.html.twig
...
{{ dump(data) }}
...
This function dumps variable to the template.
dump(var)
parameter | type | required | description |
---|---|---|---|
var | mixed | ✓ | Variable to be dumped |
Example
# file.html.twig
...
{{ dump(data) }}
...