getExtension(); $config = $extension->getConfig('login'); $config['hideLogo'] = false; $extension->setConfig('login', $config); } /** * @param Schema $schema */ public function down(Schema $schema): void { $extension = $this->getExtension(); $config = $extension->getConfig('login'); if (array_key_exists('hideLogo', $config)) { unset($config['hideLogo']); } $extension->setConfig('login', $config); } /** * @throws ExtensionException * * @return Extension */ private function getExtension(): Extension { /** @var ExtensionsManager $extensionManager */ $extensionManager = $this->getServiceLocator()->get(ExtensionsManager::SERVICE_ID); return $extensionManager->getExtensionById('tao'); } }