/**
  * Build pagination.
  */
 private function paginate()
 {
     if (null !== $this->pagination && 0 !== ($total = $this->finder()->count())) {
         $this->pagination->calc($total);
         $this->finder()->limit($this->pagination->limit, $this->pagination->offset);
     }
     return $this;
 }