profile = $profile; } /** * Execute the job. * * @return void */ public function handle() { $profile = $this->profile; $path = 'public/avatars/default.jpg'; $avatar = new Avatar(); $avatar->profile_id = $profile->id; $avatar->media_path = $path; $avatar->thumb_path = $path; $avatar->change_count = 0; $avatar->last_processed_at = \Carbon\Carbon::now(); $avatar->save(); } }