File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -103,8 +103,6 @@ TwigBundle Configuration ("twig")
103
103
Configuration
104
104
-------------
105
105
106
- .. _config-twig-exception-controller :
107
-
108
106
auto_reload
109
107
~~~~~~~~~~~
110
108
@@ -155,15 +153,17 @@ regular PHP code. Compilation is a costly process, so the result is cached in
155
153
the directory defined by this configuration option.
156
154
157
155
Set this option to ``null `` to disable Twig template compilation. However, this
158
- is not recommended (even for the ``dev `` environment).
156
+ is not recommended; not even in the ``dev `` environment, because the
157
+ ``auto_reload `` option ensures that cached templates which have changed get
158
+ compiled again.
159
159
160
160
charset
161
161
~~~~~~~
162
162
163
163
**type **: ``string `` **default **: ``'%kernel.charset%' ``
164
164
165
- The charset used by the template files. In Symfony Standard edition this defaults
166
- to ``UTF-8 `` charset.
165
+ The charset used by the template files. In the Symfony Standard edition this
166
+ defaults to the ``UTF-8 `` charset.
167
167
168
168
debug
169
169
~~~~~
@@ -173,6 +173,8 @@ debug
173
173
If ``true ``, the compiled templates include a ``__toString() `` method that can
174
174
be used to display their nodes.
175
175
176
+ .. _config-twig-exception-controller :
177
+
176
178
exception_controller
177
179
~~~~~~~~~~~~~~~~~~~~
178
180
@@ -275,7 +277,7 @@ for that directory:
275
277
276
278
<twig : config >
277
279
<!-- ... -->
278
- <twig : path namspace =" foo_bar" >%kernel.root_dir%/../vendor/acme/foo-bar/templates</twig : path >
280
+ <twig : path namespace =" foo_bar" >%kernel.root_dir%/../vendor/acme/foo-bar/templates</twig : path >
279
281
</twig : config >
280
282
</container >
281
283
You can’t perform that action at this time.
0 commit comments