module/FzyCommon/src/FzyCommon/Service/Search/Base.php
protected function setMetaData(Params $params)
    {
        $this->setLimit(Page::limit($params));
        $this->setOffset(Page::offset($params));
        $this->drawNumber = $params->get('draw');

        return $this;
    }
protected function setMetaData(Params $params)
    {
        $this->setLimit(Page::limit($params));
        $this->setOffset(Page::offset($params));
        $this->drawNumber = $params->get('draw');

        return $this;
    }
Sets the limit/offset metadata
@param  Params $params
@return $this