Ds\Map::merge

Ds\Map::merge

(PECL ds >= 1.0.0)

Ds\Map::mergeReturns the result of adding all given associations.

Description

public Ds\Map Ds\Map::merge ( mixed $values )

Returns the result of associating all keys of a given traversable object or array with their corresponding values, combined with the current instance.

Note:

Values of the current instance will be overwritten by those provided