src/Core/Config.php
function combine(array $append_config = array())
    {
        if (!empty($append_config)) {
            foreach ($append_config as $key => $value) {
                if (isset($this->config_data[$key]) && is_array($value)) {
                    $this->config_data[$key] = array_merge($this->config_data[$key], $value);
                } else {
                    $this->config_data[$key] = $value;
                }

                $this->clearIndexCache($key);
            }
        }

        return $this;
    }
function combine(array $append_config = array())
    {
        if (!empty($append_config)) {
            foreach ($append_config as $key => $value) {
                if (isset($this->config_data[$key]) && is_array($value)) {
                    $this->config_data[$key] = array_merge($this->config_data[$key], $value);
                } else {
                    $this->config_data[$key] = $value;
                }

                $this->clearIndexCache($key);
            }
        }

        return $this;
    }
合并附加数组到源数组

@param array $append_config
@return $this