Controller/RestNodeController.php
public function getNodesListAction(ParamFetcher $paramFetcher)
    {
        $page  = $paramFetcher->get('page');
        $count = $paramFetcher->get('count');

        $pager = $this->getNodeManager()->getPager($this->filterCriteria($paramFetcher), $page, $count);

        return $pager;
    }
public function getNodesListAction(ParamFetcher $paramFetcher)
    {
        $page  = $paramFetcher->get('page');
        $count = $paramFetcher->get('count');

        $pager = $this->getNodeManager()->getPager($this->filterCriteria($paramFetcher), $page, $count);

        return $pager;
    }
public function getNodesListAction ( ParamFetcher $ paramFetcher ) { $ page = $ paramFetcher -> get ( 'page' ) ; $ count = $ paramFetcher -> get ( 'count' ) ; $ pager = $ this -> getNodeManager ( ) -> getPager ( $ this -> filterCriteria ( $ paramFetcher ) , $ page , $ count ) ; return $ pager ; }
Retrieve the list of available nodes

@QueryParam(name="page", requirements="\d+", default="0", description="Number of page")
@QueryParam(name="count", requirements="\d+", default="0", description="Number of nodes by page")

@param ParamFetcher $paramFetcher
Retrieve the list of available nodes