9
π₯ You can use the getCollection() and setCollection() methods on the paginator to interact with the underlying data

π₯ #Laravel paginator tip: you can use getCollection and setCollection if you need to do something to the paginator underlying data. Trust me you'll know when you need this.