Skip to content

Commit 84c200a

Browse files
committed
Add missing versionadded directive. refs #11956
1 parent 46ebb09 commit 84c200a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

components/dotenv.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,15 @@ Use environment variables in values by prefixing variables with ``$``:
151151

152152
Define a default value in case the environment variable is not set:
153153

154-
.. code-block:: terminal
154+
.. code-block:: terminal
155155
156156
DB_USER=
157157
DB_PASS=${DB_USER:-root}pass # results in DB_PASS=rootpass
158158
159+
.. versionadded:: 4.4
160+
161+
The support for default values has been introduced in Symfony 4.4.
162+
159163
Embed commands via ``$()`` (not supported on Windows):
160164

161165
.. code-block:: terminal

0 commit comments

Comments
 (0)