1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +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

490 B

title tweet_id thread_slug author_username images created_at slug
When creating jobs, only accept the needed data 1530215258135990272 weekly-thread-2022-21 morrislaptop
https://pbs.twimg.com/media/FTihMVRXoAIt4AF.jpg
https://pbs.twimg.com/media/FTihNyPWIAAAsbE.jpg
2022-05-27T15:52:02+00:00 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