UpgradeWizardRegistry

class \TYPO3\CMS\Install\Updates\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
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

Return values

array

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