propagate(new SetupProvider())([]); } /** * @param Schema $schema * * @throws Error * @throws InvalidServiceManagerException * @throws ExtensionException */ public function down(Schema $schema): void { /** @var ExtensionsManager $extensionManager */ $extensionManager = $this->getServiceManager()->get(ExtensionsManager::SERVICE_ID); $extension = $extensionManager->getExtensionById('tao'); $config = $extension->getConfig('client_lib_config_registry'); unset($config['taoQtiTest/controller/creator/creator']); $extension->setConfig('client_lib_config_registry', $config); } }