Denis K 8 лет назад
Родитель
Сommit
78b012d9a5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/DependencyInjection/ServiceContainer.php

+ 1 - 1
src/DependencyInjection/ServiceContainer.php

@@ -45,7 +45,7 @@ class ServiceContainer extends ContainerBuilder
     /**
     /**
      * Load service container.
      * Load service container.
      */
      */
-    public function load($file)
+    public function load($file = null)
     {
     {
         $loader = new YamlFileLoader($this, new FileLocator(__DIR__.'/../Resources/config'));
         $loader = new YamlFileLoader($this, new FileLocator(__DIR__.'/../Resources/config'));
         $loader->load('config.yml');
         $loader->load('config.yml');