ConstVector::concat

Returns a ConstVector that is the concatenation of the values of the current ConstVector and the values of the provided Traversable.

Description

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

Returns a ConstVector that is the concatenation of the values of the current ConstVector and the values of the provided Traversable.

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

Parameters

Return Values