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

Commit2e5b8bc

Browse files
committed
minor#11127 Document Default env processor with null fallback (jderusse)
This PR was merged into the master branch.Discussion----------Document Default env processor with null fallbackDocument the fallback to `null`PR:symfony/symfony#30504Commits-------309bd58 Document Default env processor with null fallback
2 parents2f6f5bf +309bd58 commit2e5b8bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎configuration/external_parameters.rst‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,8 @@ Symfony provides the following env var processors:
533533
$container->setParameter('private_key', '%env(default:raw_key:file:PRIVATE_KEY)%');
534534
$container->setParameter('raw_key', '%env(PRIVATE_KEY)%');
535535
536+
When the fallback parameter is ommited (ie. ``env(default::API_KEY)``), the value retrieved is ``null``.
537+
536538
..versionadded::4.3
537539

538540
The ``default`` processor was introduced in Symfony 4.3.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp