Mmanos\Search\Query::limit PHP Method

limit() public method

Set the "limit" and "offset" value of the query.
public limit ( integer $limit, integer $offset ) : Query
$limit integer
$offset integer
return Query
    public function limit($limit, $offset = 0)
    {
        $this->limit = $limit;
        $this->offset = $offset;
        return $this;
    }