Definition at line 15 of file UninstallCommand.php.
◆ __construct()
- Parameters
-
InstallerFactory | $installerFactory | |
Definition at line 25 of file UninstallCommand.php.
27 $this->installerFactory = $installerFactory;
28 parent::__construct();
◆ configure()
{}
Definition at line 34 of file UninstallCommand.php.
36 $this->setName(
'setup:uninstall')
37 ->setDescription(
'Uninstalls the Magento application');
◆ execute()
execute |
( |
InputInterface |
$input, |
|
|
OutputInterface |
$output |
|
) |
| |
|
protected |
{}
Definition at line 44 of file UninstallCommand.php.
46 $helper = $this->getHelper(
'question');
47 $question =
new ConfirmationQuestion(
'Are you sure you want to uninstall Magento?[y/N]',
false);
49 if (
$helper->ask($input,
$output, $question) || !$input->isInteractive()) {
53 return \Magento\Framework\Console\Cli::RETURN_SUCCESS;
The documentation for this class was generated from the following file: