I need the dump function to be able to troubleshoot a template. I see that dump function is available in 1.5, I have 1.24
When I print the twig version with
The current version is {{ constant('Twig_Environment::VERSION') }}
I get 1.24.0. But when I use the dump function:
{{ dump() }}
I get a Slim Application Error:
Type: Twig_Error_Syntax
Message: Unknown "dump" function in "template.html.twig" at line 15.
What did I do wrong?