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 identifier Returns null if wizard is already done
Methods
__construct()
public
__construct(string $name, LateBootService $lateBootService) : mixed
Parameters
- $name : string
- $lateBootService : LateBootService
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 identifier Returns null if wizard is already done
protected
getWizard(string $identifier[, bool $all = false ]) : UpgradeWizardInterface|null
Parameters
- $identifier : string
- $all : bool = false