Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6d4b9f2

Browse filesBrowse files
committed
[#11337] Added a deprecation directive
1 parent 214b181 commit 6d4b9f2
Copy full SHA for 6d4b9f2

File tree

1 file changed

+8
-3
lines changed
Filter options

1 file changed

+8
-3
lines changed

‎routing/custom_route_loader.rst

Copy file name to clipboardExpand all lines: routing/custom_route_loader.rst
+8-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.