Skip to content

Commit 33a3a91

Browse files
committed
minor #13384 [DI] Auto alias compiler pass is now enabled by default (javiereguiluz)
This PR was merged into the master branch. Discussion ---------- [DI] Auto alias compiler pass is now enabled by default Fixes #13055. Commits ------- c6509a3 [DI] Auto alias compiler pass is now enabled by default
2 parents 54f774f + c6509a3 commit 33a3a91

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

reference/dic_tags.rst

+5-3
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,12 @@ wrapping their names with ``%`` characters).
180180
sense most of the times to prevent accessing those services directly instead
181181
of using the generic service alias.
182182

183-
.. note::
183+
.. versionadded:: 5.1
184184

185-
You need to manually add the ``Symfony\Component\DependencyInjection\Compiler\AutoAliasServicePass``
186-
compiler pass to the container for this feature to work.
185+
In Symfony versions prior to 5.1, you needed to manually add the
186+
``Symfony\Component\DependencyInjection\Compiler\AutoAliasServicePass``
187+
compiler pass to the container for this feature to work. This compiler pass
188+
is now added automatically.
187189

188190
console.command
189191
---------------

0 commit comments

Comments
 (0)