소스 검색

Merge pull request #235 from cocostru/5.0

Update ServiceContainer.php
Jonny Wenmoth 7 년 전
부모
커밋
5052fbcf08
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()
+    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');