extension = $extension; parent::__construct($env, $debug); } public function registerBundles() { return [ new FrameworkBundle(), new AwsBundle(), ]; } public function registerContainerConfiguration(LoaderInterface $loader) { $loader->load($this->getTestConfigFile($this->extension)); } public function getTestConfig() { return Yaml::parse(file_get_contents($this->getTestConfigFile('yml'))); } private function getTestConfigFile($extension) { return __DIR__ . '/config.' . $extension; } }