$pages->pagination()

Returns the $pagination object if available

  • return ($pagination)

Check out the docs for the $pagination object