Adds pagination support
The collection
method can now accept a paginator instance. Instances of both Paginator
and LengthAwarePaginator
are supported as well as custom paginators that extend AbstractPaginator
and implement Arrayable
.
Big thanks to @ycs77 for the PR for this feature