Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[FrameworkBundle] feature: add the ability to search for a route #9236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 23, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions routing/debug.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ the route name as the command argument:

$ php bin/console debug:router article_show

# or use part of the name to search for routes
$ php bin/console debug:router blo

Select one of the matching routes:
[0] blog
[1] blog_show
>

Likewise, if you want to test whether a URL matches a given route, use the
``router:match`` command. This is useful to debug routing issues and find out
which route is associated with the given URL:
Expand Down