public function merge($key, $value)
    {
        if (is_array($value) && is_array($old = $this->get($key))) {
            $value = array_merge_recursive($old, $value);
        }

        return $this->set($key, $value);
    }
public function merge($key, $value)
    {
        if (is_array($value) && is_array($old = $this->get($key))) {
            $value = array_merge_recursive($old, $value);
        }

        return $this->set($key, $value);
    }
public function merge ( $ key , $ value ) { if ( is_array ( $ value ) && is_array ( $ old = $ this -> get ( $ key ) ) ) { $ value = array_merge_recursive ( $ old , $ value ) ; } return $ this -> set ( $ key , $ value ) ; }
Merge values recursively.

@param string $key
@param mixed  $value

@return $this
Merge values recursively .