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

Commit0b046b3

Browse files
committed
[Routing] Add a note for refering invokable controllers
1 parentc72dde0 commit0b046b3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎routing.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,12 @@ and method: ``AppBundle\Controller\BlogController::showAction``. But if you
531531
follow some simple conventions, the logical name is more concise and allows
532532
more flexibility.
533533

534+
..tip::
535+
536+
To refer to an action that is implemented as the ``__invoke()`` method of a controller class,
537+
you do not have to pass the method name, but can just use the fully qualified class name (e.g.
538+
``AppBundle\Controller\BlogController``).
539+
534540
..note::
535541

536542
In addition to using the logical name or the fully-qualified class name,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp