diff --git a/routing.rst b/routing.rst index 76184d7c8ef..410d1c94354 100644 --- a/routing.rst +++ b/routing.rst @@ -354,6 +354,23 @@ evaluates them: blog_show ANY ANY ANY /blog/{slug} ---------------- ------- ------- ----- -------------------------------------------- +You can sort the routes by name, path or priority using the ``--sort`` option + +.. code-block:: terminal + + $ php bin/console debug:router --sort=name + + ---------------- ------- ------- ----- -------------------------------------------- + Name Method Scheme Host Path + ---------------- ------- ------- ----- -------------------------------------------- + article_show ANY ANY ANY /articles/{_locale}/{year}/{title}.{_format} + blog ANY ANY ANY /blog/{page} + blog_show ANY ANY ANY /blog/{slug} + contact GET ANY ANY /contact + contact_process POST ANY ANY /contact + homepage ANY ANY ANY / + ---------------- ------- ------- ----- -------------------------------------------- + Pass the name (or part of the name) of some route to this argument to print the route details: 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