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

Appearance settings

Commit 2d781a8

Browse filesBrowse files
SimperfitAmrouche Hamza
authored and
Amrouche Hamza
committed
feature: add the ability to search for a route
1 parent 0665ada commit 2d781a8
Copy full SHA for 2d781a8

File tree

1 file changed

+8
-0
lines changed
Filter options

1 file changed

+8
-0
lines changed

‎routing/debug.rst

Copy file name to clipboardExpand all lines: routing/debug.rst
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ the route name as the command argument:
3131
3232
$ php bin/console debug:router article_show
3333
34+
# or use part of the name to search for routes
35+
$ php bin/console debug:router blo
36+
37+
Select one of the matching routes:
38+
[0] blog
39+
[1] blog_show
40+
>
41+
3442
Likewise, if you want to test whether a URL matches a given route, use the
3543
``router:match`` command. This is useful to debug routing issues and find out
3644
which route is associated with the given URL:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.