UpgradeWizardListCommand extends Command
Upgrade wizard command for listing wizards
Table of Contents
Methods
- __construct() : mixed
- bootstrap() : void
- Bootstrap running of upgradeWizards
- configure() : mixed
- Configure the command by defining the name, options and arguments
- execute() : int
- List available upgrade wizards. If -all is given, already done wizards are listed, too.
- getWizard() : UpgradeWizardInterface|null
- Get Wizard instance by class name and identifier Returns null if wizard is already done
Methods
__construct()
public
__construct(string $name, LateBootService $lateBootService, UpgradeWizardsService $upgradeWizardsService) : mixed
Parameters
- $name : string
- $lateBootService : LateBootService
- $upgradeWizardsService : UpgradeWizardsService
bootstrap()
Bootstrap running of upgradeWizards
protected
bootstrap() : void
configure()
Configure the command by defining the name, options and arguments
protected
configure() : mixed
execute()
List available upgrade wizards. If -all is given, already done wizards are listed, too.
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
- $input : InputInterface
- $output : OutputInterface
Return values
intgetWizard()
Get Wizard instance by class name and identifier Returns null if wizard is already done
protected
getWizard(string $className, string $identifier[, bool $all = false ]) : UpgradeWizardInterface|null
Parameters
- $className : string
- $identifier : string
- $all : bool = false