config = $config; $this->language = $language->getCode(); } /** * @return string|null */ private function getLanguage(): ?string { return $this->language; } /** * @return Config */ private function getConfig(): Config { return $this->config; } /** * @inheritDoc * Since 1.35 (all fields optional): * - string 1x Path to a square icon at 1x resolution * - string 2x Path to a square icon at 2x resolution * - string icon Path to a square icon * - array wordmark with `src`, `width`, `height` and `style` keys. * - array tagline with `src`, `width`, `height` and `style` keys. */ public function getTemplateData(): array { return RL\SkinModule::getAvailableLogos( $this->getConfig(), $this->getLanguage() ); } }