How to implement guide with loading multiple configuration files in a php application using symfony 5.4
I've been researching this but Does anyone know how to I recently switched to I'm experiencing an scenario with loading multiple configuration files in my Symfony 5.4 application... Specifically, I have a `config/packages/` directory with several YAML files, and I want to load a custom configuration file that includes environment-specific settings. However, when I try to load a file named `custom_config.yaml` using the following code, it seems to be ignored: ```php // src/Kernel.php protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader): void { $loader->load(__DIR__.'/../config/packages/*.yaml'); $loader->load(__DIR__.'/../config/packages/custom_config.yaml'); } ``` Instead, all the settings from `custom_config.yaml` are not being applied, and Iβm not seeing any behavior messages in the logs. I've checked the YAML syntax, and it seems fine. My `custom_config.yaml` looks like this: ```yaml parameters: my_custom_parameter: 'custom_value' services: App\SomeService: arguments: - '%my_custom_parameter%' ``` I've also validated that the file is being included in the correct path, but still nothing changes in the service definition. I've tried clearing the cache with `php bin/console cache:clear` and running `php bin/console config:dump-reference` to see if the parameter was recognized, but itβs not listed there either. Am I missing something in how Symfony loads configuration files, or is there a better way to organize this? Any help would be appreciated! What am I doing wrong? What are your experiences with this? I'm on Debian using the latest version of Php. Any ideas how to fix this? I'm working with Php in a Docker container on CentOS. I'd really appreciate any guidance on this.