Skip to content

Commit e9343f4

Browse files
committed
Merge branch '5.0' into 5.1
* 5.0: List which values are true for %env(bool:xxx)%
2 parents 295d553 + 53c7305 commit e9343f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

configuration/env_var_processors.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ Symfony provides the following env var processors:
9696
]);
9797
9898
``env(bool:FOO)``
99-
Casts ``FOO`` to a bool:
99+
Casts ``FOO`` to a bool (``true`` values are ``'true'``, ``'on'``, ``'yes'``
100+
and all numbers except ``0`` and ``0.0``; everything else is ``false``):
100101

101102
.. configuration-block::
102103

0 commit comments

Comments
 (0)