Skip to content

Commit 2a7f91d

Browse files
committed
Tweaking to new comment style about autowiring/auto-registration
1 parent d30928d commit 2a7f91d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

best_practices/templates.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ class in the constructor of the Twig extension:
139139
140140
And that's it!
141141

142-
Your application will :ref:`autoconfigure <services-autoconfigure>` your twig
143-
extension and inject a ``Markdown`` instance in it thanks to
144-
:doc:`autowiring </service_container/autowiring>`.
142+
If you're using the :ref:`default services.yml configuration <service-container-services-load-example>`,
143+
you're done! Symfony will automatically know about your new service and tag it to
144+
be used as a Twig extension.
145145

146146
.. _`Twig`: http://twig.sensiolabs.org/
147147
.. _`Parsedown`: http://parsedown.org/

0 commit comments

Comments
 (0)