Skip to content

Commit b838b54

Browse files
committed
Update command_in_controller.rst
1 parent c999a1a commit b838b54

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cookbook/console/command_in_controller.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
.. index::
2-
single: Console; Use commands in your Controller
2+
single: Console; How to Call a Command from a controller
33

4-
How to call a command from a controller
4+
How to call a Command from a Controller
55
=======================================
66

77
The :doc:`Console component documentation </components/console/introduction>` covers
88
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.
1010

1111
You may have the need to execute some function that is only available in a console command.
1212
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::
5555
}
5656
}
5757

58-
Showing colorized command output
58+
Showing Colorized Command Output
5959
--------------------------------
6060

6161
By telling the ``StreamOutput`` it is decorated via the third parameter, it will return

0 commit comments

Comments
 (0)