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.

Internal

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

getUpgradeWizards()

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
Return values
bool

        
On this page

Search results