src/Sedona/SBORuntimeBundle/Datatable/Data/DatatableQuery.php
private function setLimit()
    {
        if (isset($this->requestParams['start']) && -1 != $this->requestParams['length']) {
            $this->qb->setFirstResult($this->requestParams['start'])->setMaxResults($this->requestParams['length']);
        }

        return $this;
    }
private function setLimit()
    {
        if (isset($this->requestParams['start']) && -1 != $this->requestParams['length']) {
            $this->qb->setFirstResult($this->requestParams['start'])->setMaxResults($this->requestParams['length']);
        }

        return $this;
    }
private function setLimit ( ) { if ( isset ( $ this -> requestParams [ 'start' ] ) && - 1 != $ this -> requestParams [ 'length' ] ) { $ this -> qb -> setFirstResult ( $ this -> requestParams [ 'start' ] ) -> setMaxResults ( $ this -> requestParams [ 'length' ] ) ; } return $ this ; }
Paging.
Construct the LIMIT clause for server-side processing SQL query.

@return $this
Paging . Construct the LIMIT clause for server - side processing SQL query .