Pagination

Eustáquio Rangel edited this page Aug 16, 2013 · 2 revisions

Previous: Scopes - Next: Factories

Pagination

Simple pagination works with the paginate method, where we need to specify the page number and the limit by page, like

$page = 1;
$tickets = $user->tickets->paginate($page,5);

Previous: Scopes - Next: Factories

You can’t perform that action at this time.
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.
Press h to open a hovercard with more details.