public function concat($list): self
    {
        $this->internalDataListUpdate();
        foreach ($list as $object) {
            array_push($this->internalDataListData, $object);
        }
        return $this;
    }
public function concat($list): self
    {
        $this->internalDataListUpdate();
        foreach ($list as $object) {
            array_push($this->internalDataListData, $object);
        }
        return $this;
    }
public function concat ( $ list ) : self { $ this -> internalDataListUpdate ( ) ; foreach ( $ list as $ object ) { array_push ( $ this -> internalDataListData , $ object ) ; } return $ this ; }
Appends the items of the list provided to the current list.

@param array|iterable $list A list to append after the current one.
@return self A reference to the list.
@throws \InvalidArgumentException
Appends the items of the list provided to the current list .