We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 179039b commit eeb579cCopy full SHA for eeb579c
cookbook/templating/twig_extension.rst
@@ -99,16 +99,6 @@ Now you must let the Service Container know about your newly created Twig Extens
99
->setPublic(false)
100
->addTag('twig.extension');
101
102
-.. note::
103
-
104
- Keep in mind that Twig Extensions are not lazily loaded. This means that
105
- there's a higher chance that you'll get a
106
- :class:`Symfony\\Component\\DependencyInjection\\Exception\\ServiceCircularReferenceException`
107
- or a
108
- :class:`Symfony\\Component\\DependencyInjection\\Exception\\ScopeWideningInjectionException`
109
- if any services (or your Twig Extension in this case) are dependent on
110
- the request service. For more information take a look at :doc:`/cookbook/service_container/scopes`.
111
112
Using the custom Extension
113
--------------------------
114
0 commit comments