localizer = $localizer; $this->footerData = $footerData; } /** * @inheritDoc */ public function getTemplateData(): array { $localizer = $this->localizer; $footerData = $this->footerData; return $footerData + [ 'msg-citizen-footer-desc' => $localizer->msg( "citizen-footer-desc" )->inContentLanguage()->parse(), 'msg-citizen-footer-tagline' => $localizer->msg( "citizen-footer-tagline" )->inContentLanguage()->parse() ]; } }