original_string: public function setRows($rows = [])
      {
          if (Arr::isAssoc($rows)) {
              foreach ($rows as $key => $item) {
                  $this->rows[] = [$key, $item];
              }
  
              return $this;
          }
  
          $this->rows = $rows;
  
          return $this;
      }
code: public function setRows($rows = [])
      {
          if (Arr::isAssoc($rows)) {
              foreach ($rows as $key => $item) {
                  $this->rows[] = [$key, $item];
              }
  
              return $this;
          }
  
          $this->rows = $rows;
  
          return $this;
      }
code_tokens: public function setRows ( $ rows = [ ] ) { if ( Arr :: isAssoc ( $ rows ) ) { foreach ( $ rows as $ key => $ item ) { $ this -> rows [ ] = [ $ key , $ item ] ; } return $ this ; } $ this -> rows = $ rows ; return $ this ; }
docstring: Set table rows.
  
  @param array $rows
  
  @return $this
docstring_tokens: Set table rows .