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.
Configuration files contain parameters that define values such as the resources allocated to the DB2 database products and to individual databases, and the diagnostic level. There are two types of configuration files: The database manager configuration file for each DB2 instance.
Most global config files are located in the /etc directory. The /etc/ directory feels more like a filesystem and has many sub-directories, each having related config files.
A configuration file, often shortened to config file, defines the parameters, options, settings and preferences applied to operating systems (OSes), infrastructure devices and applications in an IT context. Software and hardware devices can be profoundly complex, supporting myriad options and parameters.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With