8000 [#11337] Added a deprecation directive · symfony/symfony-docs@6d4b9f2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6d4b9f2

Browse files
committed
[#11337] Added a deprecation directive
1 parent 214b181 commit 6d4b9f2

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

routing/custom_route_loader.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,14 @@ of the service whose ID is ``admin_route_loader``. Your service doesn't have to
211211
extend or implement any special class, but the called method must return a
212212
:class:`Symfony\\Component\\Routing\\RouteCollection` object.
213213

214-
If you're using :ref:`autoconfigure <services-autoconfigure>`, your service should
215-
implement the ``RouteLoaderInterface`` interface to be tagged automatically.
216-
If you're **not using autoconfigure**, tag it manually with ``routing.route_loader``.
214+
If you're using :ref:`autoconfigure <services-autoconfigure>`, your class should
215+
implement the :class:`Symfony\\Bundle\\FrameworkBundle\\Routing\\RouteLoaderInterface`
216+
interface to be tagged automatically. If you're **not using autoconfigure**,
217+
tag it manually with ``routing.route_loader``.
218+
219+
.. deprecated:: 4.4
220+
221+
Not tagging or implementing your route loader was deprecated in Symfony 4.4.
217222

218223
.. note::
219224

0 commit comments

Comments
 (0)
2AE6
0