renderFromTemplate('customer_password_reset', $this->vars())['subject'], ); } public function content(): Content { return new Content( htmlString: $this->renderFromTemplate('customer_password_reset', $this->vars())['html'], ); } public function attachments(): array { return []; } private function vars(): array { return [ 'company_name' => $this->data['company_name'] ?? '', 'company_logo' => $this->data['company_logo'] ?? '', 'password' => $this->data['password'] ?? '', ]; } }