src/Map.php
public function merge($values): Map
    {
        $merged = new self($this);
        $merged->putAll($values);
        return $merged;
    }
public function merge($values): Map
    {
        $merged = new self($this);
        $merged->putAll($values);
        return $merged;
    }
public function merge ( $ values ) : Map { $ merged = new self ( $ this ) ; $ merged -> putAll ( $ values ) ; return $ merged ; }
Returns the result of associating all keys of a given traversable object
or array with their corresponding values, as well as those of this map.

@param array|\Traversable $values

@return Map
Returns the result of associating all keys of a given traversable object or array with their corresponding values as well as those of this map .