File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -239,13 +239,13 @@ application harder to maintain.
239
239
cache
240
240
~~~~~
241
241
242
- **type **: ``string `` **default **: ``'%kernel.cache_dir%/twig' ``
242
+ **type **: ``string `` | `` false `` | `` Twig\Cache\CacheInterface `` **default **: ``'%kernel.cache_dir%/twig' ``
243
243
244
244
Before using the Twig templates to render some contents, they are compiled into
245
245
regular PHP code. Compilation is a costly process, so the result is cached in
246
246
the directory defined by this configuration option.
247
247
248
- Set this option to ``null `` to disable Twig template compilation. However, this
248
+ Set this option to ``false `` to disable Twig template compilation. However, this
249
249
is not recommended; not even in the ``dev `` environment, because the
250
250
``auto_reload `` option ensures that cached templates which have changed get
251
251
compiled again.
You can’t perform that action at this time.
0 commit comments