HH\KeyedIterable::concat

Returns an Iterable that is the concatenation of the values of the current KeyedIterable and the values of the provided Traversable.

Description

public function concat(
  Traversable<Tu> $traversable,
): Iterable<Tu>

Returns an Iterable that is the concatenation of the values of the current KeyedIterable and the values of the provided Traversable.

The values of the provided Traversable is concatenated to the end of the current KeyedIterable to produce the returned Iterable.

Parameters

Return Values