Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not use function simplePaginate with Presenter #798

Open
ggvunh opened this issue Oct 1, 2023 · 0 comments
Open

Can not use function simplePaginate with Presenter #798

ggvunh opened this issue Oct 1, 2023 · 0 comments

Comments

@ggvunh
Copy link

ggvunh commented Oct 1, 2023

I use function simplePaginate instead paginate and get the error.
Argument 1 passed to League\Fractal\Pagination\IlluminatePaginatorAdapter::__construct() must be an instance of Illuminate\Contracts\Pagination\LengthAwarePaginator, instance of Illuminate\Pagination\Paginator given, called in /Users/simble/Documents/fbuff/account-management-api/vendor/prettus/l5-repository/src/Prettus/Repository/Presenter/FractalPresenter.php on line 159
How to I can use simplePaginate on this package.
Thank so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant