bosnadev / repository

Laravel Repositories is a package for Laravel 5 which is used to abstract the database layer. This makes applications much easier to maintain.

Home Page:https://bosnadev.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Paginate method returns a collection

jrean opened this issue · comments

Hi,

Thank you for the awesome package.
I'm wondering why the paginate() method return a Collection instance instead of a Illuminate\Pagination\Paginator instance?

I am having the same issue. It's not just paginate(). It returns a Collection on all() as well.