limitBy() public method

public limitBy ( $limit, $offset = null )
示例#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;
 }