You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/runtime.rst
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -344,21 +344,26 @@ The following options are supported by the ``SymfonyRuntime``:
344
344
Besides these, the ``GenericRuntime`` and ``SymfonyRuntime`` also support
345
345
these options:
346
346
347
-
``debug`` (default: ``APP_DEBUG`` environment variable, or ``true``)
348
-
Toggles displaying errors.
347
+
``debug`` (default: the value of the env var defined by ``debug_var_name`` option
348
+
(usually, ``APP_DEBUG``), or ``true`` if such env var is not defined)
349
+
Toggles the :ref:`debug mode <debug-mode>` of Symfony applications (e.g. to
350
+
display errors)
349
351
``runtimes``
350
352
Maps "application types" to a ``GenericRuntime`` implementation that
351
353
knows how to deal with each of them.
352
354
``error_handler`` (default: :class:`Symfony\\Component\\Runtime\\Internal\\BasicErrorHandler` or :class:`Symfony\\Component\\Runtime\\Internal\\SymfonyErrorHandler` for ``SymfonyRuntime``)
353
355
Defines the class to use to handle PHP errors.
354
356
``env_var_name`` (default: ``"APP_ENV"``)
355
-
To define the name of the env var for the Symfony env.
357
+
Defines the name of the env var that stores the name of the
0 commit comments