$files->pagination()

Returns the $pagination object

  • return ($pagination)

Example

$files      = $page->files()->paginate(10);
$pagination = $files->pagination();

Check out the docs for the $pagination object