Example #1
0
 /**
  * {@inheritdoc}
  */
 public function batch(Closure $processor, $batchSize = 1000, $offsetStart = 0, $offsetEnd = null)
 {
     if (empty($this->orderings)) {
         $this->ascending($this->model->getPrimaryKey());
     }
     parent::batch($processor, $batchSize, $offsetStart, $offsetEnd);
 }