mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
12 lines
No EOL
490 B
Markdown
12 lines
No EOL
490 B
Markdown
---
|
|
title: 'When creating jobs, only accept the needed data'
|
|
tweet_id: '1530215258135990272'
|
|
thread_slug: weekly-thread-2022-21
|
|
author_username: morrislaptop
|
|
images:
|
|
- 'https://pbs.twimg.com/media/FTihMVRXoAIt4AF.jpg'
|
|
- 'https://pbs.twimg.com/media/FTihNyPWIAAAsbE.jpg'
|
|
created_at: 2022-05-27T15:52:02+00:00
|
|
slug: when-creating-jobs-only-accept-the-needed-data
|
|
---
|
|
When creating Laravel Jobs, only accept the data you need to handle the job instead of large wrapper objects / models |