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

Public Member Functions

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

Protected Member Functions

 bootstrap ()
 
 configure ()
 
int execute (InputInterface $input, OutputInterface $output)
 
TYPO3 CMS Install Updates UpgradeWizardInterface null getWizard (string $className, string $identifier, $all=false)
 

Private Attributes

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

Detailed Description

Upgrade wizard command for listing wizards

Definition at line 38 of file UpgradeWizardListCommand.php.

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ bootstrap()

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

◆ configure()

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

Configure the command by defining the name, options and arguments

Definition at line 79 of file UpgradeWizardListCommand.php.

◆ execute()

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

List available upgrade wizards. If -all is given, already done wizards are listed, too.

Parameters
InputInterface$input
\Symfony\Component\Console\Output\OutputInterface$output
Returns
‪int

Definition at line 97 of file UpgradeWizardListCommand.php.

References $GLOBALS, TYPO3\CMS\Install\Command\UpgradeWizardListCommand\$input, TYPO3\CMS\Install\Command\UpgradeWizardListCommand\$output, TYPO3\CMS\Install\Command\UpgradeWizardListCommand\bootstrap(), and TYPO3\CMS\Install\Command\UpgradeWizardListCommand\getWizard().

◆ getWizard()

TYPO3 CMS Install Updates UpgradeWizardInterface null TYPO3\CMS\Install\Command\UpgradeWizardListCommand::getWizard ( string  $className,
string  $identifier,
  $all = false 
)
protected

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

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

Definition at line 141 of file UpgradeWizardListCommand.php.

Referenced by TYPO3\CMS\Install\Command\UpgradeWizardListCommand\execute().

Member Data Documentation

◆ $input

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

◆ $lateBootService

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

◆ $output

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

◆ $upgradeWizardsService

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