setEmail($customer->email); } } public function getParams(): array { return array_merge([ 'customer_name' => $this->customer ? $this->customer->customerName : "", ], $this->getMemberParams()); } abstract public function getMemberParams(): array; }