public function load(array $files = array())
    {
        $loader = new YamlLoader(new FileLocator, new YamlParser);

        foreach ($files as $file) {
            $configValues = $loader->load($file);

            $configValues = $this->loadImports($loader, $file, $configValues);

            $this->params = array_replace_recursive($this->params, $configValues);
        }
    }
public function load(array $files = array())
    {
        $loader = new YamlLoader(new FileLocator, new YamlParser);

        foreach ($files as $file) {
            $configValues = $loader->load($file);

            $configValues = $this->loadImports($loader, $file, $configValues);

            $this->params = array_replace_recursive($this->params, $configValues);
        }
    }
public function load ( array $ files = array ( ) ) { $ loader = new YamlLoader ( new FileLocator , new YamlParser ) ; foreach ( $ files as $ file ) { $ configValues = $ loader -> load ( $ file ) ; $ configValues = $ this -> loadImports ( $ loader , $ file , $ configValues ) ; $ this -> params = array_replace_recursive ( $ this -> params , $ configValues ) ; } }
Load config files

@param array $files
Load config files