Commit 981c211
committed
bug symfony#8849 Add constructor call to the "Getting Services from the Service Container" section (viion)
This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes symfony#8849).
Discussion
----------
Add constructor call to the "Getting Services from the Service Container" section
Parent constructor call is required when using auto-wired services in a command constructor, without it you will receive the error:
```
There are no commands defined in the "app" namespace.
```
Some discussion of what I ran into: symfony#8843
Commits
-------
88fd7a7 Update console.rst1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
187 | 189 | | |
188 | 190 | | |
189 | 191 | | |
| |||
0 commit comments