original_string: protected function buildRows(array $data)
      {
          $this->rows = collect($data)->map(function ($model, $number) {
              return new Row($number, $model);
          });
  
          if ($this->rowsCallback) {
              $this->rows->map($this->rowsCallback);
          }
      }
code: protected function buildRows(array $data)
      {
          $this->rows = collect($data)->map(function ($model, $number) {
              return new Row($number, $model);
          });
  
          if ($this->rowsCallback) {
              $this->rows->map($this->rowsCallback);
          }
      }
code_tokens: protected function buildRows ( array $ data ) { $ this -> rows = collect ( $ data ) -> map ( function ( $ model , $ number ) { return new Row ( $ number , $ model ) ; } ) ; if ( $ this -> rowsCallback ) { $ this -> rows -> map ( $ this -> rowsCallback ) ; } }
docstring: Build the grid rows.
  
  @param array $data
  
  @return void
docstring_tokens: Build the grid rows .