12 use Symfony\Component\Console\Input\InputInterface;
13 use Symfony\Component\Console\Output\OutputInterface;
25 private $installFactory;
32 private $deploymentConfig;
42 $this->installFactory = $installFactory;
44 parent::__construct();
54 $this->setName(
'setup:db-data:upgrade')->setDescription(
'Installs and upgrades data in the DB');
63 if (!$this->deploymentConfig->isAvailable()) {
64 $output->writeln(
"<info>No information is available: the Magento application is not installed.</info>");
66 return \Magento\Framework\Console\Cli::RETURN_FAILURE;
70 return \Magento\Framework\Console\Cli::RETURN_SUCCESS;
__construct(InstallerFactory $installFactory, DeploymentConfig $deploymentConfig)
execute(InputInterface $input, OutputInterface $output)