Skip to content
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

clarify the routing component documentation a bit #6023

Merged
merged 1 commit into from
Jan 10, 2016
Merged

clarify the routing component documentation a bit #6023

merged 1 commit into from
Jan 10, 2016

Conversation

dbu
Copy link
Contributor

@dbu dbu commented Dec 16, 2015

Q A
Doc fix? yes
New docs? no
Applies to 2.3+
Fixed tickets Relates to #5709

@dbu dbu mentioned this pull request Dec 16, 2015
5 tasks
@@ -62,11 +62,15 @@ URL path and some array of custom variables in its constructor. This array
of custom variables can be *anything* that's significant to your application,
and is returned when that route is matched.

If no matching route can be found a
:class:`Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException` will be thrown.
The :method:``UrlMatcher::match() <Symfony\\Component\\Routing\\UrlMatcher::match``
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing angle bracket

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and double backticks should be single ones

@dbu
Copy link
Contributor Author

dbu commented Dec 18, 2015

fixed

@xabbuh
Copy link
Member

xabbuh commented Dec 18, 2015

👍

@dbu
Copy link
Contributor Author

dbu commented Jan 4, 2016

anything left to do here or can this be merged?

@xabbuh
Copy link
Member

xabbuh commented Jan 4, 2016

@javiereguiluz @weaverryan @wouterj What do you think?


In addition to your array of custom variables, a ``_route`` key is added,
which holds the name of the matched route.
If no matching route can be found during ``match``, a
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd remove during match because it looks redundant.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@weaverryan
Copy link
Member

Nice job @dbu, thanks :)

@weaverryan weaverryan merged commit 940fb8f into symfony:2.3 Jan 10, 2016
weaverryan added a commit that referenced this pull request Jan 10, 2016
This PR was merged into the 2.3 branch.

Discussion
----------

clarify the routing component documentation a bit

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3+
| Fixed tickets | Relates to #5709

Commits
-------

940fb8f clarify the routing component documentation a bit
weaverryan added a commit that referenced this pull request Jan 10, 2016
@dbu dbu deleted the clarify-routing-component branch October 18, 2018 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants