1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 21:34:03 +00:00
laravel-tips/content/tips/when-creating-jobs-only-accept-the-needed-data.md
Samuel Štancl e42fd0da62 Week 21/2022
2022-05-27 21:23:30 +02:00

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