data['domain_name'] ?? '', $this->template->subject), ); } public function content(): Content { $message = str_replace( ['{\$company_name}', '{\$company_logo}', '{\$domain_name}', '{\$client_name}', '{\$order_num}', '{\$reason}'], [$this->data['company_name'] ?? '', $this->data['company_logo'] ?? '', $this->data['domain_name'] ?? '', $this->data['client_name'] ?? '', $this->data['order_num'] ?? '', $this->data['reason'] ?? ''], $this->template->message ); return new Content(view: 'emails.template', with: ['template' => $message]); } public function attachments(): array { return []; } }