File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
.. index ::
2
- single: Console; Use commands in your Controller
2
+ single: Console; How to Call a Command from a controller
3
3
4
- How to call a command from a controller
4
+ How to call a Command from a Controller
5
5
=======================================
6
6
7
7
The :doc: `Console component documentation </components/console/introduction >` covers
8
8
how to create a console command. This cookbook article covers how to use a console command
9
- directly in your application .
9
+ directly from your controller .
10
10
11
11
You may have the need to execute some function that is only available in a console command.
12
12
Usually, you should refactor the command and move some logic into a service that can be
@@ -55,7 +55,7 @@ allows you to directly execute a registered command inside your controller::
55
55
}
56
56
}
57
57
58
- Showing colorized command output
58
+ Showing Colorized Command Output
59
59
--------------------------------
60
60
61
61
By telling the ``StreamOutput `` it is decorated via the third parameter, it will return
You can’t perform that action at this time.
0 commit comments