key = $key; } public function getSubject(): string { return 'Ely.by Account change E-mail confirmation'; } public function getParams(): array { return [ 'key' => $this->key, ]; } /** * @return string|array */ protected function getView() { return [ 'html' => '@common/emails/views/current-email-confirmation-html', 'text' => '@common/emails/views/current-email-confirmation-text', ]; } }