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

Commitee9ba3a

Browse files
committed
Revert "[#9507] remove csv processor, it was added in 4.1"
This reverts commit50bddbd.
1 parentb00d9d5 commitee9ba3a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎configuration/external_parameters.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,16 @@ Symfony provides the following env var processors:
247247
sentry:
248248
dsn:'%env(resolve:SENTRY_DSN)%'
249249
250+
``env(csv:FOO)``
251+
Decodes the content of ``FOO``, which is a CSV-encoded string:
252+
253+
..code-block::yaml
254+
255+
parameters:
256+
env(TRUSTED_HOSTS):"10.0.0.1, 10.0.0.2"
257+
framework:
258+
trusted_hosts:'%env(csv:TRUSTED_HOSTS)%'
259+
250260
``env(file:FOO)``
251261
Returns the contents of a file whose path is the value of the ``FOO`` env var:
252262

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp