HH\Map::toMap

Returns a deep copy of the current Map

public function toMap(): this<Tk, Tv>;

Return Values

  • this<Tk, Tv> - a Map that is a deep copy of the current Map.