HH\Vector::fromArray

Returns a Vector containing the values from the specified array

Deprecation

Use new Vector($arr) instead.

Description

public static function fromArray<T>(
  array<T, Tv> $arr,
): Vector<Tv>;

This function is deprecated. Use new Vector($arr) instead.

Parameters

Return Values