Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit981adcd

Browse files
mw3e21ajaviereguiluz
authored andcommitted
Added description to improved bin/console debug:container --env-vars …
1 parent0f92bc4 commit981adcd

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
@@ -871,19 +871,21 @@ Use the ``debug:dotenv`` command to understand how Symfony parses the different
871871
The option to pass variable names to ``debug:dotenv`` was introduced in Symfony 6.2.
872872

873873
Additionally, and regardless of how you set environment variables, you can see all
874-
environment variables, with their values, referenced in Symfony's container configuration:
874+
environment variables, with their values, referenced in Symfony's container configuration,
875+
you can also see the number of occurrences of each environment variable in the container:
875876

876877
..code-block::terminal
877878
878879
$ php bin/console debug:container --env-vars
879880
880-
---------------- ----------------- ---------------------------------------------
881-
Name Default value Real value
882-
---------------- ----------------- ---------------------------------------------
883-
APP_SECRET n/a "471a62e2d601a8952deb186e44186cb3"
884-
FOO "[1, "2.5", 3]" n/a
885-
BAR null n/a
886-
---------------- ----------------- ---------------------------------------------
881+
------------ ----------------- ------------------------------------ -------------
882+
Name Default value Real value Usage count
883+
------------ ----------------- ------------------------------------ -------------
884+
APP_SECRET n/a "471a62e2d601a8952deb186e44186cb3" 2
885+
BAR n/a n/a 1
886+
BAZ n/a "value" 0
887+
FOO "[1, "2.5", 3]" n/a 1
888+
------------ ----------------- ------------------------------------ -------------
887889
888890
# you can also filter the list of env vars by name:
889891
$ php bin/console debug:container --env-vars foo

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp