upgradeWizards->has($identifier); } /** * Get registered upgrade wizard by identifier */ public function getUpgradeWizard(string $identifier): UpgradeWizardInterface { if (!$this->hasUpgradeWizard($identifier)) { throw new \UnexpectedValueException('Upgrade wizard with identifier ' . $identifier . ' is not registered.', 1673964964); } return $this->upgradeWizards->get($identifier); } /** * Get all registered upgrade wizards * * @return array */ public function getUpgradeWizards(): array { return $this->upgradeWizards->getProvidedServices(); } }