Beispiel #1
0
 public function registerContainerConfiguration()
 {
     $loader = new ContainerLoader($this->getBundleDirs());
     $configuration = $loader->load(__DIR__ . '/config/config_' . $this->getEnvironment() . '.yml');
     if (!$this->isDebug()) {
         $configuration->setParameter('exception_handler.controller', 'LichessBundle:Main:notFound');
     } else {
         $configuration->setParameter('profiler.storage.class', 'Bundle\\LichessBundle\\Profiler\\ProfilerStorage');
     }
     return $configuration;
 }
 public function loadFile($file)
 {
   return parent::loadFile($file);
 }
 protected function loadFromFile(ContainerBuilder $container, $file)
 {
     $loadYaml = new YamlFileLoader($container, __DIR__ . '/Fixtures/config/yml');
     $loadYaml->load($file . '.yml');
 }
 public function registerContainerConfiguration()
 {
     $loader = new ContainerLoader($this->getBundleDirs());
     return $loader->load(__DIR__ . '/config/config_' . $this->getEnvironment() . '.yml');
 }
 public function getFilesAsArray(array $files)
 {
     return parent::getFilesAsArray($files);
 }