Commit 656980b
committed
feature symfony#8558 Adding warning about non-service arguments for controllers (weaverryan)
This PR was merged into the 3.3 branch.
Discussion
----------
Adding warning about non-service arguments for controllers
Hi guys!
See: symfony/symfony#24555 (comment)
This is for 3.3. In 3.4 we can improve this further: by updating the example of this to use `bind` (which is much nicer than the ugly tag) and probably show an example of using `bind` along with a scalar argument to the constructor. In other words, 3.4 is a todo once this is merged.
Thanks!
Commits
-------
72a0685 Adding warning about non-service arguments1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
341 | 348 | | |
342 | 349 | | |
343 | 350 | | |
| |||
0 commit comments