code: public function chunk($count, callable $callback){
  
          return $this->buildQuery($this->getQueryColumns())->chunk($count, $callback);
      }
docs: Chunk the results of the query.
  
  @param  int  $count
  @param  callable  $callback
  @return void