@@ -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