Reputation: 981
Is there a way to show via command line in symfony to show which all config-files and parameter-files are used in a specific environment?
Can't find anything in the docs.
Upvotes: 8
Views: 6112
Reputation: 2014
As far as I know - there is no such command. But you can use command
php bin/console debug:config
to see your current configuration. If you run it without parameters, output will have list of bundles. You can pick name from that list and will be able to see parameters of specific bundle.
There is also this command
php bin/console debug:container --parameters
which will output parameters.
You can also manually traverse configuration. Symfony transparently loads config_<env>.yml
, which imports all other files, including config.yml
Upvotes: 10