memberId = $member->id; $this->user = $user; } /** * Execute the job. * * @return void */ public function handle() { $this->member = Member::find($this->memberId); if (!$this->member->hasNami) { return; } $setting->login()->deleteMember($this->member->nami_id); Member::withoutEvents(function () { $this->member->update(['nami_id' => null]); }); } }