Skip to content

Commit 6606b19

Browse files
committed
minor #9236 [FrameworkBundle] feature: add the ability to search for a route (Simperfit)
This PR was merged into the master branch. Discussion ---------- [FrameworkBundle] feature: add the ability to search for a route The PR add the documentation for core's PR symfony/symfony#26121 Commits ------- 2d781a8 feature: add the ability to search for a route
2 parents 8e64505 + 2d781a8 commit 6606b19

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

routing/debug.rst

Lines 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)