HH\ImmSet::__construct

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

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

Parameters

  • ?Traversable<Tv> $iterable = NULL