src/Cms.php
public static function mergeConfig($key, $config)
    {
        $values = Hash::merge((array) Configure::read($key), $config);
        Configure::write($key, $values);

        return $values;
    }
public static function mergeConfig($key, $config)
    {
        $values = Hash::merge((array) Configure::read($key), $config);
        Configure::write($key, $values);

        return $values;
    }
public static function mergeConfig ( $ key , $ config ) { $ values = Hash :: merge ( ( array ) Configure :: read ( $ key ) , $ config ) ; Configure :: write ( $ key , $ values ) ; return $ values ; }
Merge configure values by key.

@param string $key
@param array|string $config
@return array|mixed
Merge configure values by key .