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

Commit38e9f40

Browse files
committed
feature#11333 [Routing] Invokable route loader services (fancyweb)
This PR was merged into the master branch.Discussion----------[Routing] Invokable route loader services#eufossadoc forsymfony/symfony#30933Also the notation with one column has been deprecated so I updated this part as well.Commits-------d9b4121 [Routing] Invokable route loader services
2 parentsfed4d14 +d9b4121 commit38e9f40

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎routing/custom_route_loader.rst‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,15 @@ extend or implement any special class, but the called method must return a
133133
cached by the framework. So whenever your service should load new routes,
134134
don't forget to clear the cache.
135135

136+
..tip::
137+
138+
If your service is invokable, you don't need to precise the method to use.
139+
140+
..versionadded::4.3
141+
142+
The support of the ``__invoke()`` method to create invokable route loader
143+
services was introduced in Symfony 4.3.
144+
136145
Creating a custom Loader
137146
------------------------
138147

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp