original_string: public function transformRows(\Cassandra\Rows $rows)
      {
          $entries = [];
  
          // page through all results and transform as we go
          while (true) {
              while ($rows->valid()) {
  
                  // transform
                  $entry = $this->transform($rows->current());
  
                  if ($entry) {
                      array_push($entries, $entry);
                  }
  
                  $rows->next();
              }
  
              if ($rows->isLastPage()) {
                  break;
              }
  
              $rows = $rows->nextPage();
          }
  
          return $entries;
      }
code: public function transformRows(\Cassandra\Rows $rows)
      {
          $entries = [];
  
          // page through all results and transform as we go
          while (true) {
              while ($rows->valid()) {
  
                  // transform
                  $entry = $this->transform($rows->current());
  
                  if ($entry) {
                      array_push($entries, $entry);
                  }
  
                  $rows->next();
              }
  
              if ($rows->isLastPage()) {
                  break;
              }
  
              $rows = $rows->nextPage();
          }
  
          return $entries;
      }
code_tokens: public function transformRows ( \ Cassandra \ Rows $ rows ) { $ entries = [ ] ; // page through all results and transform as we go while ( true ) { while ( $ rows -> valid ( ) ) { // transform $ entry = $ this -> transform ( $ rows -> current ( ) ) ; if ( $ entry ) { array_push ( $ entries , $ entry ) ; } $ rows -> next ( ) ; } if ( $ rows -> isLastPage ( ) ) { break ; } $ rows = $ rows -> nextPage ( ) ; } return $ entries ; }
docstring: Transform Cassandra Rows.
  
  @param \Cassandra\Rows $rows
  
  @return array
docstring_tokens: Transform Cassandra Rows .