src/Fusonic/Linq/Linq.php
public function concat($second)
    {
        LinqHelper::assertArgumentIsIterable($second, "second");

        $allItems = new \ArrayIterator([$this->iterator, $second]);

        return new Linq(new SelectManyIterator($allItems));
    }
public function concat($second)
    {
        LinqHelper::assertArgumentIsIterable($second, "second");

        $allItems = new \ArrayIterator([$this->iterator, $second]);

        return new Linq(new SelectManyIterator($allItems));
    }
public function concat ( $ second ) { LinqHelper :: assertArgumentIsIterable ( $ second , "second" ) ; $ allItems = new \ ArrayIterator ( [ $ this -> iterator , $ second ] ) ; return new Linq ( new SelectManyIterator ( $ allItems ) ) ; }
Concatenates this Linq object with the given sequence.

@param array|\Iterator $second A sequence which will be concatenated with this Linq object.
@throws InvalidArgumentException if the given sequence is not traversable.
@return Linq     A new Linq object that contains the concatenated elements of the input sequence and the original Linq sequence.
Concatenates this Linq object with the given sequence .