--- 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