Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
|
- <?php
-
- namespace App\Email\Members;
-
- use App\Email\BaseEmailer;
- use App\Kintone\Models\Customer;
-
- abstract class Members extends BaseEmailer
- {
-
- public function __construct(protected Customer $customer)
- {
- $this->setEmail($customer->email);
- }
-
- public function getParams(): array
- {
- return array_merge($this->getMemberParams(), [
- 'customer_name' => $this->customer->customerName
- ]);
- }
-
- abstract public function getMemberParams(): array;
- }
|