params = $params; } public function getKey(): string { return 'databaseerror-text'; } public function getParams(): array { return $this->params; } }