Пример #1
0
 /**
  * Get the range values (start, stop) out of the given pagination instance.
  *
  * @param  \Fahita\RealTime\Pagination $pagination
  *
  * @return \Fahita\Caching\Range
  */
 public function getPaginationRange(Pagination $pagination)
 {
     return $this->getRange($pagination->limit(), $pagination->offset());
 }