Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd819624

Browse files
committed
[Runtime] Possibility to define the env and/or debug key
1 parent77b7f55 commitd819624

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎components/runtime.rst‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,14 @@ these options:
351351
knows how to deal with each of them.
352352
``error_handler`` (default::class:`Symfony\\Component\\Runtime\\Internal\\BasicErrorHandler` or:class:`Symfony\\Component\\Runtime\\Internal\\SymfonyErrorHandler` for ``SymfonyRuntime``)
353353
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.
354362

355363
Create Your Own Runtime
356364
-----------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp