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 @@ -46,8 +46,7 @@ The same mechanism can be used in Twig templates thanks to ``dump()`` function:
46
46
</a>
47
47
{% endfor %}
48
48
49
- By design, the ``dump() `` function is only available if the ``kernel.debug ``
50
- setting (in ``config.yml ``) is ``true ``, to avoid leaking sensitive information
51
- in production. In fact, trying to use the ``dump() `` function when ``kernel.debug ``
52
- is ``false `` (for example in the ``prod `` environment) will result in an
53
- application error.
49
+ By design, the ``dump() `` function is only available in the ``dev `` and ``test ``
50
+ environments, to avoid leaking sensitive information in production. In fact,
51
+ trying to use the ``dump() `` function in the ``prod `` environment will result in
52
+ a PHP error.
You can’t perform that action at this time.
0 commit comments