HH\Iterable::toArray

Returns an array converted from the current Iterable

public function toArray(): array;

Returns

  • array - an array converted from the current Iterable.