public function update($newValues)
    {
        foreach ($newValues as $key => $value) {
            $this->offsetSet($key, $value);
        }

        return $this;
    }
public function update($newValues)
    {
        foreach ($newValues as $key => $value) {
            $this->offsetSet($key, $value);
        }

        return $this;
    }
public function update ( $ newValues ) { foreach ( $ newValues as $ key => $ value ) { $ this -> offsetSet ( $ key , $ value ) ; } return $ this ; }
Update the dictionary with new values.

@param array\Traversable $newValues

@return self
Update the dictionary with new values .