original_string: public function make()
      {
          $this->rawColumns = $this->getRawColumns($this->columns);
          $this->columnNames = $this->getColumnNames();
  
          $this->addSelect();
  
          $this->total = $this->count();
  
          if (static::$versionTransformer === null) {
              static::$versionTransformer = new Version110Transformer();
          }
          $this->addFilters();
  
          $this->filtered = $this->count();
  
          $this->addOrderBy();
          $this->addLimits();
  
          $this->rows = $this->builder->get();
  
          $rows = [];
          foreach ($this->rows as $row) {
              $rows[] = $this->formatRow($row);
          }
  
          return [
              static::$versionTransformer->transform('draw') => (isset($_POST[static::$versionTransformer->transform(
                      'draw'
                  )]) ? (int)$_POST[static::$versionTransformer->transform('draw')] : 0),
              static::$versionTransformer->transform('recordsTotal') => $this->total,
              static::$versionTransformer->transform('recordsFiltered') => $this->filtered,
              static::$versionTransformer->transform('data') => $rows
          ];
      }
code: public function make()
      {
          $this->rawColumns = $this->getRawColumns($this->columns);
          $this->columnNames = $this->getColumnNames();
  
          $this->addSelect();
  
          $this->total = $this->count();
  
          if (static::$versionTransformer === null) {
              static::$versionTransformer = new Version110Transformer();
          }
          $this->addFilters();
  
          $this->filtered = $this->count();
  
          $this->addOrderBy();
          $this->addLimits();
  
          $this->rows = $this->builder->get();
  
          $rows = [];
          foreach ($this->rows as $row) {
              $rows[] = $this->formatRow($row);
          }
  
          return [
              static::$versionTransformer->transform('draw') => (isset($_POST[static::$versionTransformer->transform(
                      'draw'
                  )]) ? (int)$_POST[static::$versionTransformer->transform('draw')] : 0),
              static::$versionTransformer->transform('recordsTotal') => $this->total,
              static::$versionTransformer->transform('recordsFiltered') => $this->filtered,
              static::$versionTransformer->transform('data') => $rows
          ];
      }
code_tokens: public function make ( ) { $ this -> rawColumns = $ this -> getRawColumns ( $ this -> columns ) ; $ this -> columnNames = $ this -> getColumnNames ( ) ; $ this -> addSelect ( ) ; $ this -> total = $ this -> count ( ) ; if ( static :: $ versionTransformer === null ) { static :: $ versionTransformer = new Version110Transformer ( ) ; } $ this -> addFilters ( ) ; $ this -> filtered = $ this -> count ( ) ; $ this -> addOrderBy ( ) ; $ this -> addLimits ( ) ; $ this -> rows = $ this -> builder -> get ( ) ; $ rows = [ ] ; foreach ( $ this -> rows as $ row ) { $ rows [ ] = $ this -> formatRow ( $ row ) ; } return [ static :: $ versionTransformer -> transform ( 'draw' ) => ( isset ( $ _POST [ static :: $ versionTransformer -> transform ( 'draw' ) ] ) ? ( int ) $ _POST [ static :: $ versionTransformer -> transform ( 'draw' ) ] : 0 ) , static :: $ versionTransformer -> transform ( 'recordsTotal' ) => $ this -> total , static :: $ versionTransformer -> transform ( 'recordsFiltered' ) => $ this -> filtered , static :: $ versionTransformer -> transform ( 'data' ) => $ rows ] ; }
docstring: Make the datatable response.
  @return array
  @throws Exception
docstring_tokens: Make the datatable response .