We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b00d9d5 commit ee9ba3aCopy full SHA for ee9ba3a
configuration/external_parameters.rst
@@ -247,6 +247,16 @@ Symfony provides the following env var processors:
247
sentry:
248
dsn: '%env(resolve:SENTRY_DSN)%'
249
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
260
``env(file:FOO)``
261
Returns the contents of a file whose path is the value of the ``FOO`` env var:
262
0 commit comments