1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00

Week 21/2022

This commit is contained in:
Samuel Štancl 2022-05-27 21:23:30 +02:00
parent 99fc7428d1
commit e42fd0da62
7 changed files with 75 additions and 0 deletions

View file

@ -0,0 +1,12 @@
---
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