original_string: public function appendCsv($data)
      {
          $counter    = 0;
          $rows       = str_getcsv($data, $this->_csvLineDelimiter);
  
          foreach ($rows as $row) {
              $rowData = str_getcsv(
                  $row,
                  $this->_csvDelimiter,
                  $this->_csvEnclosure,
                  $this->_csvEscape
              );
  
              $this->_putData($this->_integerKeyPrefix . $counter, $rowData);
  
              $counter++;
          }
  
          if ($this->_objectCreation) {
              return $this->_afterAppendDataToNewObject();
          }
  
          return $this;
      }
code: public function appendCsv($data)
      {
          $counter    = 0;
          $rows       = str_getcsv($data, $this->_csvLineDelimiter);
  
          foreach ($rows as $row) {
              $rowData = str_getcsv(
                  $row,
                  $this->_csvDelimiter,
                  $this->_csvEnclosure,
                  $this->_csvEscape
              );
  
              $this->_putData($this->_integerKeyPrefix . $counter, $rowData);
  
              $counter++;
          }
  
          if ($this->_objectCreation) {
              return $this->_afterAppendDataToNewObject();
          }
  
          return $this;
      }
code_tokens: public function appendCsv ( $ data ) { $ counter = 0 ; $ rows = str_getcsv ( $ data , $ this -> _csvLineDelimiter ) ; foreach ( $ rows as $ row ) { $ rowData = str_getcsv ( $ row , $ this -> _csvDelimiter , $ this -> _csvEnclosure , $ this -> _csvEscape ) ; $ this -> _putData ( $ this -> _integerKeyPrefix . $ counter , $ rowData ) ; $ counter ++ ; } if ( $ this -> _objectCreation ) { return $ this -> _afterAppendDataToNewObject ( ) ; } return $ this ; }
docstring: allow to set csv data into object
  
  @param string $data
  @return $this
docstring_tokens: allow to set csv data into object