public function registerContainerConfiguration(LoaderInterface $loader) { $loader->load($this->getRootDir() . '/config/config_' . $this->getEnvironment() . '.yml'); $file = $this->getRootDir() . '/config/config_' . $this->getEnvironment() . '.local.yml'; if (is_file($file)) { $loader->load($file); } }