mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
513 B
513 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug | |
|---|---|---|---|---|---|---|---|
| Interesting technique: add getters to Form Requests | 1484566716403183617 | weekly-thread-2022-03 | mmartin_joo |
|
2022-01-21T16:41:01+00:00 | interesting-technique-add-getters-to-form-requests |
💪Power up your #Laravel requests
You can add very simple getters on the request, so: ✅You actually know what's on the request ✅You have types ✅You can do basic data transformation