limitBy() public method

public limitBy ( $limit, $offset = null )
Beispiel #1
0
 /**
  * Apply limit and offset on data
  * @param int $offset
  * @param int $limit
  * @return static
  */
 public function limit($offset, $limit)
 {
     $this->data_source = $this->data_source->limitBy($limit, $offset);
     return $this;
 }