src/ConfigurationFactory.php
protected function mergeParams(&$data, $params)
    {

        // merge the passed params into the configuration data
        foreach ($params as $paramName => $paramValue) {
            if (is_array($paramValue)) {
                foreach ($paramValue as $key => $value) {
                    foreach ($value as $name => $x) {
                        $data[$paramName][$key][$name] = $x;
                    }
                }
            } else {
                $data[$paramName] = $paramValue;
            }
        }
    }
protected function mergeParams(&$data, $params)
    {

        // merge the passed params into the configuration data
        foreach ($params as $paramName => $paramValue) {
            if (is_array($paramValue)) {
                foreach ($paramValue as $key => $value) {
                    foreach ($value as $name => $x) {
                        $data[$paramName][$key][$name] = $x;
                    }
                }
            } else {
                $data[$paramName] = $paramValue;
            }
        }
    }
Merge the additional params in the passed configuration data.

@param array $data   The array with configuration data
@param array $params The array with additional params to merge

@return void