Commit bc4cdb6
committed
minor symfony#20928 Fix setParameter for RouteCollection in Create Framework tutorial (alamirault)
This PR was merged into the 6.4 branch.
Discussion
----------
Fix setParameter for RouteCollection in Create Framework tutorial
Try fix symfony#20823
`$routes` is a `RouteCollection` instance, so it cannot be a container parameter.
I replaced it by a reference and `set`. I don't know if it's the best way, or if the section is really needed
Commits
-------
8bbe446 Fix setParameter for RouteCollection in Create Framework tutorial1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
| 239 | + | |
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| |||
0 commit comments