public function registerContainerConfiguration(LoaderInterface $loader) { $loader->load(SuluTestBundle::getConfigDir() . '/config.php'); if (class_exists('Sulu\\Bundle\\SearchBundle\\SuluSearchBundle')) { $loader->load(__DIR__ . '/config/search.yml'); } }
public function registerContainerConfiguration(LoaderInterface $loader) { $loader->load(SuluTestBundle::getConfigDir() . '/config.php'); // @see https://github.com/symfony/symfony/issues/7555 $envParameters = $this->getEnvParameters(); $loader->load(function ($container) use($envParameters) { $container->getParameterBag()->add($envParameters); }); }
public function registerContainerConfiguration(LoaderInterface $loader) { $loader->load(SuluTestBundle::getConfigDir() . '/config.php'); $loader->load(__DIR__ . '/config/config.yml'); }