Show environment variables in Symfony
Environment variables can be defined in multiple files and you might need to check a few to see what is used at the moment. Much easier is running the following command to show all environment variables used in the currently used environment with:
php bin/console debug:container --env-vars
Or use the -e
option to show the variables for a specific environment.
php bin/console debug:container --env-vars -e test