diff --git a/routing.rst b/routing.rst index b6440dacc5d..cc52902ed64 100644 --- a/routing.rst +++ b/routing.rst @@ -531,6 +531,12 @@ and method: ``AppBundle\Controller\BlogController::showAction``. But if you follow some simple conventions, the logical name is more concise and allows more flexibility. +.. tip:: + + To refer to an action that is implemented as the ``__invoke()`` method of a controller class, + you do not have to pass the method name, but can just use the fully qualified class name (e.g. + ``AppBundle\Controller\BlogController``). + .. note:: In addition to using the logical name or the fully-qualified class name, pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy