File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -121,13 +121,13 @@ application harder to maintain.
121
121
cache
122
122
~~~~~
123
123
124
- **type **: ``string `` **default **: ``'%kernel.cache_dir%/twig' ``
124
+ **type **: ``string `` | `` false `` | `` Twig\Cache\CacheInterface `` **default **: ``'%kernel.cache_dir%/twig' ``
125
125
126
126
Before using the Twig templates to render some contents, they are compiled into
127
127
regular PHP code. Compilation is a costly process, so the result is cached in
128
128
the directory defined by this configuration option.
129
129
130
- Set this option to ``null `` to disable Twig template compilation. However, this
130
+ Set this option to ``false `` to disable Twig template compilation. However, this
131
131
is not recommended; not even in the ``dev `` environment, because the
132
132
``auto_reload `` option ensures that cached templates which have changed get
133
133
compiled again.
You can’t perform that action at this time.
0 commit comments