1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 13:24:03 +00:00
laravel-tips/content/tips/you-can-use-the-getcollection-and-setcollection-methods-on-the-paginator-to-interact-with-the-underlying-data.md
lukinovec 1a53831d4d
Weekly thread #5-#7, use actual created_at timestamp in Thread creation (#27)
* Weekly thread #5

* Weekly thread #6 (before #5)

* Weekly thread #5

* Correct the weekly thread created_at timestamps

* Add actual created_at to Thread

* Weekly thread #7

* Fix weekly thread #7

* Remove thread #8
2022-02-21 17:24:21 +01:00

11 lines
621 B
Markdown

---
title: 'You can use the getCollection() and setCollection() methods on the paginator to interact with the underlying data'
tweet_id: '1489620186109857800'
thread_slug: weekly-thread-2022-05
author_username: alanrezende
images:
- 'https://pbs.twimg.com/media/FKngV3LWQAQcft4.png'
created_at: 2022-02-04T15:21:42+00:00
slug: 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.