/** * {@inheritDoc} */ public function merge(MapInterface $map) { $self = $this; $map->each(function ($key, $value) use($self) { if (!$self->containsKey($key)) { $self->put($key, $value); } }); }