HH\ImmMap::__construct

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

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

Parameters

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

Returns

  • void

Examples

See Map::__construct for usage examples.