invitation = $invitation; } /** * Build the message. * * @return $this */ public function build() { $entity_type = class_basename(lcfirst($this->invitation->getEntityType())); $subject = ctrans("texts.notification_{$entity_type}_bounced_subject", ['invoice' => $invoice->number]); return $this->from(config('mail.from.address'), config('mail.from.name')) ->text() ->subject($subject); } }