|
| __construct (ObjectManagerInterface $objectManager, DataInterface $configXml, DataInterface $configXmlDist) |
|
Checks if config.xml is configured properly.
Definition at line 17 of file ConfigAnalyzer.php.
◆ __construct()
__construct |
( |
ObjectManagerInterface |
$objectManager, |
|
|
DataInterface |
$configXml, |
|
|
DataInterface |
$configXmlDist |
|
) |
| |
- Parameters
-
ObjectManagerInterface | $objectManager | |
DataInterface | $configXml | |
DataInterface | $configXmlDist | |
Definition at line 52 of file ConfigAnalyzer.php.
57 parent::__construct();
59 $this->configXml = $configXml->get();
60 $this->configXmlDist = $configXmlDist->get();
◆ configure()
Configure command.
- Returns
- void
Definition at line 68 of file ConfigAnalyzer.php.
71 $this->setName(
'troubleshooting:check-config-valid')
72 ->setDescription(
'Check if config.xml is configured properly.');
◆ execute()
execute |
( |
InputInterface |
$input, |
|
|
OutputInterface |
$output |
|
) |
| |
|
protected |
Execute check if config.xml is configured properly.
- Parameters
-
InputInterface | $input | |
OutputInterface | $output | |
- Returns
- void @SuppressWarnings(PHPMD.UnusedFormalParameter)
Definition at line 83 of file ConfigAnalyzer.php.
85 $output = $this->objectManager->create(
89 $output->writeln(
"Checking config.xml file configuration...");
90 $output->outputMessages($this->checkConfigFileAvailable());
91 $output->writeln(
"config.xml file check is finished.");
The documentation for this class was generated from the following file:
- vendor/magento/magento2-base/dev/tests/functional/lib/Magento/Mtf/Troubleshooting/ConfigAnalyzer.php