user = $user; $this->emailTemplate = $emailTemplate; $this->mailCode = $mailCode; } /** * Execute the job. * * @return void */ public function handle() { SendMail::MailNotification($this->user, $this->emailTemplate, $this->mailCode); } }