Skip to content

Commit bcb3056

Browse files
committed
minor #8764 removing a tiny chapter (weaverryan)
This PR was merged into the 4.0 branch. Discussion ---------- removing a tiny chapter The `usage.rst` was tiny. So I inlined it. It was also a pretty big wall of text, so I tried to simplify. Commits ------- af9f3fb removing a tiny chapter
2 parents a788b0d + af9f3fb commit bcb3056

File tree

3 files changed

+12
-21
lines changed

3 files changed

+12
-21
lines changed

_build/redirection_map

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@
122122
/cookbook/console/logging /console/logging
123123
/cookbook/console/request_context /console/request_context
124124
/cookbook/console/style /console/style
125-
/cookbook/console/usage /console/usage
125+
/cookbook/console/usage /console
126+
/console/usage /console
126127
/cookbook/controller/csrf_token_validation /controller/csrf_token_validation
127128
/cookbook/controller/error_pages /controller/error_pages
128129
/cookbook/controller/forwarding /controller/forwarding

console.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@ The Symfony framework provides lots of commands through the ``bin/console`` scri
99
created with the :doc:`Console component </components/console>`. You can also
1010
use it to create your own commands.
1111

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+
1222
Creating a Command
1323
------------------
1424

console/usage.rst

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)