original_string: public function concat($list): self
      {
          $this->internalDataListUpdate();
          foreach ($list as $object) {
              array_push($this->internalDataListData, $object);
          }
          return $this;
      }
code: public function concat($list): self
      {
          $this->internalDataListUpdate();
          foreach ($list as $object) {
              array_push($this->internalDataListData, $object);
          }
          return $this;
      }
code_tokens: public function concat ( $ list ) : self { $ this -> internalDataListUpdate ( ) ; foreach ( $ list as $ object ) { array_push ( $ this -> internalDataListData , $ object ) ; } return $ this ; }
docstring: 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
docstring_tokens: Appends the items of the list provided to the current list .