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
minor #15863 [Runtime] Possibility to define the env and/or debug key (maxhelias)
This PR was merged into the 5.4 branch.
Discussion
----------
[Runtime] Possibility to define the env and/or debug key
Fix#15861
Commits
-------
d819624 [Runtime] Possibility to define the env and/or debug key
Copy file name to clipboardExpand all lines: components/runtime.rst
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -351,6 +351,14 @@ these options:
351
351
knows how to deal with each of them.
352
352
``error_handler`` (default: :class:`Symfony\\Component\\Runtime\\Internal\\BasicErrorHandler` or :class:`Symfony\\Component\\Runtime\\Internal\\SymfonyErrorHandler` for ``SymfonyRuntime``)
353
353
Defines the class to use to handle PHP errors.
354
+
``env_var_name`` (default: ``"APP_ENV"``)
355
+
To define the name of the env var for the Symfony env.
356
+
``debug_var_name`` (default: ``"APP_DEBUG"``)
357
+
To define the name of the debug var for the debug flag.
358
+
359
+
.. versionadded:: 5.4
360
+
361
+
The ``env_var_name`` and ``debug_var_name`` options was introduced in Symfony 5.4.
0 commit comments