UpgradeWizardRegistry
Registry for upgrade wizards. The registry receives all services, tagged with "install.upgradewizard".
The tagging of upgrade wizards is automatically done based on the PHP Attribute UpgradeWizard.
Table of Contents
Methods
- __construct() : mixed
- getUpgradeWizard() : UpgradeWizardInterface
- Get registered upgrade wizard by identifier
- getUpgradeWizards() : array<string|int, mixed>
- Get all registered upgrade wizards
- hasUpgradeWizard() : bool
- Whether a registered upgrade wizard exists for the given identifier
Methods
__construct()
public
__construct(ServiceLocator $upgradeWizards) : mixed
Parameters
- $upgradeWizards : ServiceLocator
getUpgradeWizard()
Get registered upgrade wizard by identifier
public
getUpgradeWizard(string $identifier) : UpgradeWizardInterface
Parameters
- $identifier : string
Return values
UpgradeWizardInterfacegetUpgradeWizards()
Get all registered upgrade wizards
public
getUpgradeWizards() : array<string|int, mixed>
Return values
array<string|int, mixed>hasUpgradeWizard()
Whether a registered upgrade wizard exists for the given identifier
public
hasUpgradeWizard(string $identifier) : bool
Parameters
- $identifier : string