-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[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
Conversation
routing/debug.rst
Outdated
[1] blog_show | ||
> | ||
|
||
If you choose ``blog_show`` it will show the route information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about merging this all in the previous code example, to reduce the amount of text/lines?
You can also get very specific information on a single route by including
the route name as the command argument:
.. code-block:: terminal
$ 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 following routes to display its information:
[0] blog
[1] blog_show
>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can simply drop the sentence. The CLI example is self-explanatory, isn't it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what sentence do you want to drop, the one explaining or the one in the comments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one: "If you choose blog_show
it will show the route information."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
I like the feature! 👍 for when it gets merged |
… route (Simperfit) This PR was merged into the 4.1-dev branch. Discussion ---------- [FrameworkBundle] feature: add the ability to search a route | Q | A | ------------- | --- | Branch? | 4.1 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no <!-- don't forget to update UPGRADE-*.md files --> | Tests pass? | yes | Fixed tickets | #26033 | License | MIT | Doc PR | symfony/symfony-docs#9236 This add the ability to search a route in the debug:router command.  Commits ------- ef0df02afc [FrameworkBundle] feature: add the ability to search a route
… route (Simperfit) This PR was merged into the 4.1-dev branch. Discussion ---------- [FrameworkBundle] feature: add the ability to search a route | Q | A | ------------- | --- | Branch? | 4.1 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no <!-- don't forget to update UPGRADE-*.md files --> | Tests pass? | yes | Fixed tickets | #26033 | License | MIT | Doc PR | symfony/symfony-docs#9236 This add the ability to search a route in the debug:router command.  Commits ------- ef0df02 [FrameworkBundle] feature: add the ability to search a route
PR is ready, updated with the final merged PR on the core. |
Thanks Hamza. |
…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
The PR add the documentation for core's PR symfony/symfony#26121