HH\Set::__construct

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

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

Parameters

  • ?Traversable<Tv> $iterable = NULL