twig log variable

Solutions on MaxInterview for twig log variable by the best coders in the world

showing results for - "twig log variable"
Darwin
08 Mar 2019
1// if you can install Symfony modules then install "symfony/var-dumper" then
2{{ dump(varname) }}
3
4// if you can't install anything you can go generic with
5{{ varname | json_encode(constant('JSON_PRETTY_PRINT')) }}