HH\Map::fromArray
Deprecated: Use new Map($arr) instead.
Returns a Map containing the key/value pairs from the specified array
public static function fromArray(
darray<Tk, Tv> $arr,
): Map<Tk, Tv>;
This function is deprecated. Use newMap($arr) instead.
Parameters
darray<Tk, Tv> $arr- Thearrayto convert to aMap.