public function getPager($route, $routePrm, $total, $page, $nbPerPage)
    {
        return new Pager($this, $route, $routePrm, $total, $page, $nbPerPage);
    }
public function getPager($route, $routePrm, $total, $page, $nbPerPage)
    {
        return new Pager($this, $route, $routePrm, $total, $page, $nbPerPage);
    }
public function getPager ( $ route , $ routePrm , $ total , $ page , $ nbPerPage ) { return new Pager ( $ this , $ route , $ routePrm , $ total , $ page , $ nbPerPage ) ; }
Create a pager.

@param string $route     Route name
@param array  $routePrm  Route parameters
@param int    $total     Total number of results
@param int    $page      Current page
@param int    $nbPerPage Number per page

@return Pager
Create a pager .