src/Silex/Provider/YamlConfigServiceProvider.php
protected function parseImports(array $imports, $configPath)
    {
        foreach ($imports as $import) {
            $config = $this->parse(dirname($configPath) . '/' .$import['resource']);
            if ($config !== null) {
                $this->_configSettings = $this->mergeConfigurations(
                    $this->_configSettings, $config
                );
            }
        }
    }
protected function parseImports(array $imports, $configPath)
    {
        foreach ($imports as $import) {
            $config = $this->parse(dirname($configPath) . '/' .$import['resource']);
            if ($config !== null) {
                $this->_configSettings = $this->mergeConfigurations(
                    $this->_configSettings, $config
                );
            }
        }
    }
Parses imports statement on YML file.

@param array  $imports    Imported YML files to be parsed
@param string $configPath Path to master YML file

@return void