Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[FrameworkBundle] adds routing/container descriptors#7887
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
0130339ed83497dc7eb94821c5b0651d809800d3f5535c786603c1b23aa7438036da082290a991747d26ca6e90dbcc3ae38e84dacd6ef56852b331bb8fa07729a940dad939b6File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -9,13 +9,11 @@ | ||
| <default attribute="name">Joseph</default> | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. instead of "attribute" I would name this "name". so ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more.
| ||
| </defaults> | ||
| <requirements> | ||
| <requirement attribute="name">[a-z]+</requirement> | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. instead of "attribute" I would name this "placeholder" or "variable". so ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I think the attribute should be named like the Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I think the attribute should have the same name than the one used in XML routing files, for consistency ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Good one, let's rename attributes to Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. true, but then i would also need to be host, methods and schemes attributes instead of elements. | ||
| </requirements> | ||
| <options> | ||
| <option name="compiler_class">Symfony\Component\Routing\RouteCompiler</option> | ||
| <option name="opt1">val1</option> | ||
| <option name="opt2">val2</option> | ||
| </options> | ||
| </route> | ||