params = $params; } public function getSubject(): string { return 'Ely.by Account registration'; } protected function getTemplateName(): string { return 'register'; } public function getParams(): array { return [ 'username' => $this->params->getUsername(), 'code' => $this->params->getCode(), 'link' => $this->params->getLink(), ]; } }