Skip to content

Commit ed92130

Browse files
committed
Add documentation for the env processor
1 parent 9cf3786 commit ed92130

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

configuration/environment_variables.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,9 @@ Symfony provides the following env var processors:
502502
and end of the string. This is especially useful in combination with the
503503
``file`` processor, as it'll remove newlines at the end of a file.
504504

505+
``env(explode:FOO,BAR)``
506+
Explode the content of ``FOO,BAR`` env var, retrieving a php array.
507+
505508
``env(key:FOO:BAR)``
506509
Retrieves the value associated with the key ``FOO`` from the array whose
507510
contents are stored in the ``BAR`` env var:

0 commit comments

Comments
 (0)