Inheritance: extends Symfony\Component\HttpKernel\Bundle\Bundle
Beispiel #1
0
 public function registerContainerConfiguration(LoaderInterface $loader)
 {
     $loader->load(SuluTestBundle::getConfigDir() . '/config.php');
     if (class_exists('Sulu\\Bundle\\SearchBundle\\SuluSearchBundle')) {
         $loader->load(__DIR__ . '/config/search.yml');
     }
 }
Beispiel #2
0
 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);
     });
 }
Beispiel #3
0
 public function registerContainerConfiguration(LoaderInterface $loader)
 {
     $loader->load(SuluTestBundle::getConfigDir() . '/config.php');
     $loader->load(__DIR__ . '/config/config.yml');
 }