$collection->paginate($limit, $options = array())

Add pagination

  • $limit (int)
    the number of items per page
  • $options (array)
    and optional array with options for the pagination class
  • return (object)
    a sliced set of data

Is something missing or incorrect? Edit this page on Github…