getServiceLocator()->get(ApplicationService::SERVICE_ID); $applicationService->setOption(ApplicationService::OPTION_INSTALLATION_FINISHED, true); $this->getServiceLocator()->register(ApplicationService::SERVICE_ID, $applicationService); } public function down(Schema $schema): void { $applicationService = $this->getServiceLocator()->get(ApplicationService::SERVICE_ID); $options = $applicationService->getOptions(); unset($options[ApplicationService::OPTION_INSTALLATION_FINISHED]); $applicationService->setOptions($options); $this->getServiceLocator()->register(ApplicationService::SERVICE_ID, $applicationService); } }