HH\Map::__construct

Creates a Map from the given KeyedTraversable, or an empty Map if null is passed

public function __construct(
  ?KeyedTraversable<Tk,Tv> $iterable = null,
): void;

Parameters

  • ?KeyedTraversable<Tk,Tv> $iterable = null