|
- <?php
-
- namespace App\Email\Members;
-
- use App\Kintone\Models\Ask;
- use App\Kintone\Models\Customer;
-
- class AskNotice extends Members
- {
-
- public function __construct(
- Customer $customer,
- private Ask $app
- ) {
- parent::__construct($customer);
- }
-
- public function getTemplateName(): string
- {
- return 'emails.members.ask_notice';
- }
-
- public function getSubject(): string
- {
- return "【自動返信】[月極定期駐車場ナビ]お問い合わせありがとうございます。";
- }
-
- public function getMemberParams(): array
- {
- return [
- 'phone_no' => $this->customer->phoneNumber,
- 'email' => $this->customer->email,
- 'ask' => $this->app->ask,
- ];
- }
- }
|