HH\KeyedIterable::toMap

Returns a Map based on the keys and values of the current KeyedIterable

Description

public function toMap(): Map<Tk, Tv>;

Return Values

  • Map<Tk, Tv> - a Map that has the keys and associated values of the current KeyedIterable.