protected function addOffset(Params $params, QueryBuilder $qb)
    {
        if ($this->getOffset() && $this->getOffset() > 0) {
            $qb->setFirstResult($this->getOffset());
        }

        return $this;
    }
protected function addOffset(Params $params, QueryBuilder $qb)
    {
        if ($this->getOffset() && $this->getOffset() > 0) {
            $qb->setFirstResult($this->getOffset());
        }

        return $this;
    }
protected function addOffset ( Params $ params , QueryBuilder $ qb ) { if ( $ this -> getOffset ( ) && $ this -> getOffset ( ) > 0 ) { $ qb -> setFirstResult ( $ this -> getOffset ( ) ) ; } return $ this ; }
Set the offset for the query results
@param  Param        $params
@param  QueryBuilder $qb
@return $this
Set the offset for the query results