HH\Vector::fromArray
Deprecated: Use new Vector($arr) instead.
Returns a Vector containing the values from the specified array
public static function fromArray(
darray<arraykey, Tv> $arr,
): Vector<Tv>;
This function is deprecated. Use new Vector($arr) instead.
Parameters
darray<arraykey, Tv> $arr- Thearrayto convert to aVector.
Returns
Vector<Tv>- AVectorwith the values from the providedarray.