src/Graviton/RestBundle/Service/QueryService.php
private function getPaginationLimitNode()
    {
        /** @var Query $rqlQuery */
        $rqlQuery = $this->request->attributes->get('rqlQuery');

        if ($rqlQuery instanceof Query && $rqlQuery->getLimit() instanceof LimitNode) {
            return $rqlQuery->getLimit();
        }

        return false;
    }
private function getPaginationLimitNode()
    {
        /** @var Query $rqlQuery */
        $rqlQuery = $this->request->attributes->get('rqlQuery');

        if ($rqlQuery instanceof Query && $rqlQuery->getLimit() instanceof LimitNode) {
            return $rqlQuery->getLimit();
        }

        return false;
    }
private function getPaginationLimitNode ( ) { /** @var Query $rqlQuery */ $ rqlQuery = $ this -> request -> attributes -> get ( 'rqlQuery' ) ; if ( $ rqlQuery instanceof Query && $ rqlQuery -> getLimit ( ) instanceof LimitNode ) { return $ rqlQuery -> getLimit ( ) ; } return false ; }
gets the limit node

@return bool|LimitNode the node or false
gets the limit node