File tree Expand file tree Collapse file tree 3 files changed +12
-21
lines changed Expand file tree Collapse file tree 3 files changed +12
-21
lines changed Original file line number Diff line number Diff line change 122
122
/cookbook/console/logging /console/logging
123
123
/cookbook/console/request_context /console/request_context
124
124
/cookbook/console/style /console/style
125
- /cookbook/console/usage /console/usage
125
+ /cookbook/console/usage /console
126
+ /console/usage /console
126
127
/cookbook/controller/csrf_token_validation /controller/csrf_token_validation
127
128
/cookbook/controller/error_pages /controller/error_pages
128
129
/cookbook/controller/forwarding /controller/forwarding
Original file line number Diff line number Diff line change @@ -9,6 +9,16 @@ The Symfony framework provides lots of commands through the ``bin/console`` scri
9
9
created with the :doc: `Console component </components/console >`. You can also
10
10
use it to create your own commands.
11
11
12
+ The Console: APP_ENV & APP_DEBUG
13
+ ---------------------------------
14
+
15
+ Console commands run in the :ref: `environment <config-dot-env >` defined in the ``APP_ENV ``
16
+ variable of the ``.env `` file, which is ``dev `` by default. It also reads the ``APP_DEBUG ``
17
+ value to turn "debug" mode on or off (it defaults to ``1 ``, which is on).
18
+
19
+ To run the command in another environment or debug mode, edit the value of ``APP_ENV ``
20
+ and ``APP_DEBUG ``.
21
+
12
22
Creating a Command
13
23
------------------
14
24
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments