public function newPaginator(array $models = [], $perPage = 25, $currentPage = 0, $pages = 1)
    {
        return new Paginator($models, $perPage, $currentPage, $pages);
    }
public function newPaginator(array $models = [], $perPage = 25, $currentPage = 0, $pages = 1)
    {
        return new Paginator($models, $perPage, $currentPage, $pages);
    }
public function newPaginator ( array $ models = [ ] , $ perPage = 25 , $ currentPage = 0 , $ pages = 1 ) { return new Paginator ( $ models , $ perPage , $ currentPage , $ pages ) ; }
Returns a new Paginator object instance.

@param array $models
@param int   $perPage
@param int   $currentPage
@param int   $pages

@return Paginator
Returns a new Paginator object instance .