mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
parent
0e34bd3779
commit
f1e283e142
17 changed files with 160 additions and 3 deletions
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
title: 'Interesting technique: add getters to Form Requests'
|
||||
tweet_id: '1484566716403183617'
|
||||
thread_slug: weekly-thread-2022-03
|
||||
author_username: mmartin_joo
|
||||
images:
|
||||
- 'https://pbs.twimg.com/media/FJYsa1fXMAQQlEr.jpg'
|
||||
created_at: 2022-01-21T16:41:01+00:00
|
||||
slug: 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue