subject = $subject ?: 'New Login Details'; $this->newpw = $newpw ?: 'N/A'; $this->user = $user; } public function build() { return $this->markdown('emails.user.new_login_details') ->subject($this->subject) ->with(['user' => $this->user, 'newpw' => $this->newpw]); } }