Skip to content

removing a tiny chapter #8764

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 29, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion _build/redirection_map
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@
/cookbook/console/logging /console/logging
/cookbook/console/request_context /console/request_context
/cookbook/console/style /console/style
/cookbook/console/usage /console/usage
/cookbook/console/usage /console
/console/usage /console
/cookbook/controller/csrf_token_validation /controller/csrf_token_validation
/cookbook/controller/error_pages /controller/error_pages
/cookbook/controller/forwarding /controller/forwarding
Expand Down
10 changes: 10 additions & 0 deletions console.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ The Symfony framework provides lots of commands through the ``bin/console`` scri
created with the :doc:`Console component </components/console>`. You can also
use it to create your own commands.

The Console: APP_ENV & APP_DEBUG
---------------------------------

Console commands run in the :ref:`environment <config-dot-env>` defined in the ``APP_ENV``
variable of the ``.env`` file, which is ``dev`` by default. It also reads the ``APP_DEBUG``
value to turn "debug" mode on or off (it defaults to ``1``, which is on).

To run the command in another environment or debug mode, edit the value of ``APP_ENV``
and ``APP_DEBUG``.

Creating a Command
------------------

Expand Down
20 changes: 0 additions & 20 deletions console/usage.rst

This file was deleted.