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 0665ada commit f3e0f90Copy full SHA for f3e0f90
routing/debug.rst
@@ -31,6 +31,20 @@ the route name as the command argument:
31
32
$ php bin/console debug:router article_show
33
34
+
35
+If you want to search a route by name it works too, it will then ask you what route you want to get information for:
36
37
+.. code-block:: terminal
38
39
+ $ php bin/console debug:router blo
40
41
+ Select one of the following routes to display its information:
42
+ [0] blog
43
+ [1] blog_show
44
+ >
45
46
+If you choose ``blog_show`` it will show the route information.
47
48
Likewise, if you want to test whether a URL matches a given route, use the
49
``router:match`` command. This is useful to debug routing issues and find out
50
which route is associated with the given URL:
0 commit comments