File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 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
7171 Support for registering commands in the service container was added in
7272 version 2.4.
7373
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
92CC
`` directory of your
7575bundles and automatically register your commands. For the ones implementing
7676the ``ContainerAwareCommand `` interface, Symfony will even inject the container.
7777
@@ -114,9 +114,10 @@ the ``console.command`` tag:
114114
115115 .. tip ::
116116
117- Command as a service can be usefull in few situations:
117+ Commands as services can be useful in few situations:
118118
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;
120121 * if you need to access services or configuration parameters in the
121122 ``configure `` method.
122123
You can’t perform that action at this time.
0 commit comments