HH\ImmVector::__construct

Creates an ImmVector from the given Traversable, or an empty ImmVector if null is passed

public function __construct(
  ?Traversable<Tv> $iterable = NULL,
): void;

Parameters

  • ?Traversable<Tv> $iterable = NULL