You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 satır
777B

  1. <?php
  2. namespace App\Email\Members;
  3. use App\Kintone\Models\Ask;
  4. use App\Kintone\Models\Customer;
  5. class AskNotice extends Members
  6. {
  7. public function __construct(
  8. Customer $customer,
  9. private Ask $app
  10. ) {
  11. parent::__construct($customer);
  12. }
  13. public function getTemplateName(): string
  14. {
  15. return 'emails.members.ask_notice';
  16. }
  17. public function getSubject(): string
  18. {
  19. return "【自動返信】[月極定期駐車場ナビ]お問い合わせありがとうございます。";
  20. }
  21. public function getMemberParams(): array
  22. {
  23. return [
  24. 'phone_no' => $this->customer->phoneNumber,
  25. 'email' => $this->customer->email,
  26. 'ask' => $this->app->ask,
  27. ];
  28. }
  29. }