File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ Register Commands in the Service Container
71
71
Support for registering commands in the service container was added in
72
72
version 2.4.
73
73
74
- By default, Symfony will take a look in the ``Command `` directory of you
74
+ By default, Symfony will take a look in the ``Command `` directory of your
75
75
bundles and automatically register your commands. For the ones implementing
76
76
the ``ContainerAwareCommand `` interface, Symfony will even inject the container.
77
77
@@ -114,9 +114,10 @@ the ``console.command`` tag:
114
114
115
115
.. tip ::
116
116
117
- Command as a service can be usefull in few situations:
117
+ Commands as services can be useful in few situations:
118
118
119
- * If you need your commands to be defined somewhere else than ``Command ``;
119
+ * if you need your commands to be defined somewhere else than in the
120
+ ``Command `` folder;
120
121
* if you need to access services or configuration parameters in the
121
122
``configure `` method.
122
123
You can’t perform that action at this time.
0 commit comments