Skip to content

Commit cf5683a

Browse files
author
Max Beutel
committed
[TwigBundle] document new autoescape features
1 parent 647fd97 commit cf5683a

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

reference/configuration/twig.rst

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,16 @@ TwigBundle Configuration Reference
3131
# set to service or leave blank
3232
type: ~
3333
value: ~
34-
autoescape: ~
35-
base_template_class: ~ # Example: Twig_Template
36-
cache: "%kernel.cache_dir%/twig"
37-
charset: "%kernel.charset%"
38-
debug: "%kernel.debug%"
39-
strict_variables: ~
40-
auto_reload: ~
41-
optimizations: ~
34+
autoescape: ~
35+
autoescape_service: ~ # Example: @my_service
36+
autoescape_service_method: ~ # use in combination with autoescape_service option
37+
base_template_class: ~ # Example: Twig_Template
38+
cache: "%kernel.cache_dir%/twig"
39+
charset: "%kernel.charset%"
40+
debug: "%kernel.debug%"
41+
strict_variables: ~
42+
auto_reload: ~
43+
optimizations: ~
4244
4345
.. code-block:: xml
4446

0 commit comments

Comments
 (0)