‪TYPO3CMS  11.5
TYPO3\CMS\Install\Command\UpgradeWizardRunCommand Class Reference
Inheritance diagram for TYPO3\CMS\Install\Command\UpgradeWizardRunCommand:

Public Member Functions

 __construct (string $name, LateBootService $lateBootService, UpgradeWizardsService $upgradeWizardsService)
 
int runAllWizards ()
 

Protected Member Functions

 bootstrap ()
 
 configure ()
 
int execute (InputInterface $input, OutputInterface $output)
 
TYPO3 CMS Install Updates UpgradeWizardInterface null getWizard (string $className, string $identifier)
 
bool handlePrerequisites (array $instances)
 
int runSingleWizard (UpgradeWizardInterface $instance)
 

Private Attributes

LateBootService $lateBootService
 
UpgradeWizardsService $upgradeWizardsService
 
OutputInterface Symfony Component Console Style StyleInterface $output
 
InputInterface $input
 

Detailed Description

Upgrade wizard command for running wizards

Definition at line 42 of file UpgradeWizardRunCommand.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Install\Command\UpgradeWizardRunCommand::__construct ( string  $name,
LateBootService  $lateBootService,
UpgradeWizardsService  $upgradeWizardsService 
)

Member Function Documentation

◆ bootstrap()

TYPO3\CMS\Install\Command\UpgradeWizardRunCommand::bootstrap ( )
protected

◆ configure()

TYPO3\CMS\Install\Command\UpgradeWizardRunCommand::configure ( )
protected

Configure the command by defining the name, options and arguments

Definition at line 85 of file UpgradeWizardRunCommand.php.

◆ execute()

int TYPO3\CMS\Install\Command\UpgradeWizardRunCommand::execute ( InputInterface  $input,
OutputInterface  $output 
)
protected

◆ getWizard()

TYPO3 CMS Install Updates UpgradeWizardInterface null TYPO3\CMS\Install\Command\UpgradeWizardRunCommand::getWizard ( string  $className,
string  $identifier 
)
protected

Get Wizard instance by class name and identifier Returns null if wizard is already done

Parameters
string$className
string$identifier
Returns
‪\TYPO3\CMS\Install\Updates\UpgradeWizardInterface|null

Definition at line 144 of file UpgradeWizardRunCommand.php.

Referenced by TYPO3\CMS\Install\Command\UpgradeWizardRunCommand\execute(), and TYPO3\CMS\Install\Command\UpgradeWizardRunCommand\runAllWizards().

◆ handlePrerequisites()

bool TYPO3\CMS\Install\Command\UpgradeWizardRunCommand::handlePrerequisites ( array  $instances)
protected

Handles prerequisites of update wizards, allows a more flexible definition and declaration of dependencies Currently implemented prerequisites include "database needs to be up-to-date" and "referenceIndex needs to be up- to-date" At the moment the install tool automatically displays the database updates when necessary but can't do more prerequisites

Parameters
UpgradeWizardInterface[]$instances
Returns
‪bool

Definition at line 188 of file UpgradeWizardRunCommand.php.

Referenced by TYPO3\CMS\Install\Command\UpgradeWizardRunCommand\execute(), and TYPO3\CMS\Install\Command\UpgradeWizardRunCommand\runAllWizards().

◆ runAllWizards()

int TYPO3\CMS\Install\Command\UpgradeWizardRunCommand::runAllWizards ( )

◆ runSingleWizard()

Member Data Documentation

◆ $input

InputInterface TYPO3\CMS\Install\Command\UpgradeWizardRunCommand::$input
private

◆ $lateBootService

LateBootService TYPO3\CMS\Install\Command\UpgradeWizardRunCommand::$lateBootService
private

◆ $output

OutputInterface Symfony Component Console Style StyleInterface TYPO3\CMS\Install\Command\UpgradeWizardRunCommand::$output
private

◆ $upgradeWizardsService

UpgradeWizardsService TYPO3\CMS\Install\Command\UpgradeWizardRunCommand::$upgradeWizardsService
private