We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c72dde0 commit 0b046b3Copy full SHA for 0b046b3
routing.rst
@@ -531,6 +531,12 @@ and method: ``AppBundle\Controller\BlogController::showAction``. But if you
531
follow some simple conventions, the logical name is more concise and allows
532
more flexibility.
533
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
540
.. note::
541
542
In addition to using the logical name or the fully-qualified class name,
0 commit comments