Skip to content

Commit e0caa87

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: Added description to improved bin/console debug:container --env-vars …
2 parents 6d64d24 + 44afd23 commit e0caa87

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

configuration.rst

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -977,19 +977,21 @@ Use the ``debug:dotenv`` command to understand how Symfony parses the different
977977
$ php bin/console debug:dotenv foo
978978
979979
Additionally, and regardless of how you set environment variables, you can see all
980-
environment variables, with their values, referenced in Symfony's container configuration:
980+
environment variables, with their values, referenced in Symfony's container configuration,
981+
you can also see the number of occurrences of each environment variable in the container:
981982

982983
.. code-block:: terminal
983984
984985
$ php bin/console debug:container --env-vars
985986
986-
---------------- ----------------- ---------------------------------------------
987-
Name Default value Real value
988-
---------------- ----------------- ---------------------------------------------
989-
APP_SECRET n/a "471a62e2d601a8952deb186e44186cb3"
990-
FOO "[1, "2.5", 3]" n/a
991-
BAR null n/a
992-
---------------- ----------------- ---------------------------------------------
987+
------------ ----------------- ------------------------------------ -------------
988+
Name Default value Real value Usage count
989+
------------ ----------------- ------------------------------------ -------------
990+
APP_SECRET n/a "471a62e2d601a8952deb186e44186cb3" 2
991+
BAR n/a n/a 1
992+
BAZ n/a "value" 0
993+
FOO "[1, "2.5", 3]" n/a 1
994+
------------ ----------------- ------------------------------------ -------------
993995
994996
# you can also filter the list of env vars by name:
995997
$ php bin/console debug:container --env-vars foo

0 commit comments

Comments
 (0)