src/Graviton/RestBundle/Service/QueryService.php
private function getPaginationPageSize()
    {
        $limitNode = $this->getPaginationLimitNode();

        if ($limitNode) {
            $limit = $limitNode->getLimit();

            if ($limit < 1) {
                throw new SyntaxErrorException('invalid limit in rql');
            }

            return $limit;
        }

        return $this->paginationDefaultLimit;
    }
private function getPaginationPageSize()
    {
        $limitNode = $this->getPaginationLimitNode();

        if ($limitNode) {
            $limit = $limitNode->getLimit();

            if ($limit < 1) {
                throw new SyntaxErrorException('invalid limit in rql');
            }

            return $limit;
        }

        return $this->paginationDefaultLimit;
    }
private function getPaginationPageSize ( ) { $ limitNode = $ this -> getPaginationLimitNode ( ) ; if ( $ limitNode ) { $ limit = $ limitNode -> getLimit ( ) ; if ( $ limit < 1 ) { throw new SyntaxErrorException ( 'invalid limit in rql' ) ; } return $ limit ; } return $ this -> paginationDefaultLimit ; }
get the pagination page size

@return int page size
get the pagination page size