public function process(NodeInterface $configTree, array $configs)
    {
        $currentConfig = [];
        foreach ($configs as $config) {
            $config = $configTree->normalize($config);
            $currentConfig = $configTree->merge($currentConfig, $config);
        }

        return $configTree->finalize($currentConfig);
    }
public function process(NodeInterface $configTree, array $configs)
    {
        $currentConfig = [];
        foreach ($configs as $config) {
            $config = $configTree->normalize($config);
            $currentConfig = $configTree->merge($currentConfig, $config);
        }

        return $configTree->finalize($currentConfig);
    }
public function process ( NodeInterface $ configTree , array $ configs ) { $ currentConfig = [ ] ; foreach ( $ configs as $ config ) { $ config = $ configTree -> normalize ( $ config ) ; $ currentConfig = $ configTree -> merge ( $ currentConfig , $ config ) ; } return $ configTree -> finalize ( $ currentConfig ) ; }
Processes an array of configurations.

@param NodeInterface $configTree The node tree describing the configuration
@param array         $configs    An array of configuration items to process

@return array The processed configuration
Processes an array of configurations .