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
](</hack/reference/class/Map/__construct/#examples>) for usage examples.