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
+15-2Lines changed: 15 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -340,13 +340,26 @@ The following options are supported by the ``SymfonyRuntime``:
340
340
Besides these, the ``GenericRuntime`` and ``SymfonyRuntime`` also support
341
341
these options:
342
342
343
-
``debug`` (default: ``APP_DEBUG`` environment variable, or ``true``)
344
-
Toggles displaying errors.
343
+
``debug`` (default: the value of the env var defined by ``debug_var_name`` option
344
+
(usually, ``APP_DEBUG``), or ``true`` if such env var is not defined)
345
+
Toggles the :ref:`debug mode <debug-mode>` of Symfony applications (e.g. to
346
+
display errors)
345
347
``runtimes``
346
348
Maps "application types" to a ``GenericRuntime`` implementation that
347
349
knows how to deal with each of them.
348
350
``error_handler`` (default: :class:`Symfony\\Component\\Runtime\\Internal\\BasicErrorHandler` or :class:`Symfony\\Component\\Runtime\\Internal\\SymfonyErrorHandler` for ``SymfonyRuntime``)
349
351
Defines the class to use to handle PHP errors.
352
+
``env_var_name`` (default: ``"APP_ENV"``)
353
+
Defines the name of the env var that stores the name of the
0 commit comments