You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Things I realize, if you want to use setPresenter method you have to use method from RepositoryInterface instead laravel Illuminate\Database\Eloquent\Builder
So where method is come from Illuminate\Database\Eloquent\Builder.
The solution is use findWhere from repositoryInterface
laravel 6
"prettus/l5-repository": "^2.6"
$repository = $this->repository->setPresenter(BorrowOrdersPresenter::class);
$borrowOrders` = $repository->where('sp_no',$sp_no)->paginate($this->getLimit());
The text was updated successfully, but these errors were encountered: