Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit8397b67

Browse files
fancywebwouterj
authored andcommitted
[Routing] Route loader service tag
1 parent369d792 commit8397b67

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎routing/custom_route_loader.rst‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ of the service whose ID is ``admin_route_loader``. Your service doesn't have to
127127
extend or implement any special class, but the called method must return a
128128
:class:`Symfony\\Component\\Routing\\RouteCollection` object.
129129

130+
If you're using:ref:`autoconfigure<services-autoconfigure>`, your service should
131+
implement the ``RouteLoaderInterface`` interface to be tagged automatically.
132+
If you're **not using autoconfigure**, tag it manually with ``routing.route_loader``.
133+
130134
..note::
131135

132136
The routes defined using service route loaders will be automatically

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp