Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Protected Member Functions
GlobalAnalyzer Class Reference
Inheritance diagram for GlobalAnalyzer:

Public Member Functions

 __construct ( $commandList)
 

Protected Member Functions

 configure ()
 
 execute (InputInterface $input, OutputInterface $output)
 

Detailed Description

Perform all checks.

Definition at line 15 of file GlobalAnalyzer.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $commandList)
Parameters

Definition at line 27 of file GlobalAnalyzer.php.

29  {
30  parent::__construct();
31  $this->commandList = $commandList;
32  }

Member Function Documentation

◆ configure()

configure ( )
protected

Configure command.

Returns
void

Definition at line 39 of file GlobalAnalyzer.php.

40  {
41  parent::configure();
42  $this->setName('troubleshooting:check-all')
43  ->setDescription('Perform all available checks.');
44  }

◆ execute()

execute ( InputInterface  $input,
OutputInterface  $output 
)
protected

Execute command.

Parameters
InputInterface$input
OutputInterface$output
Returns
void @SuppressWarnings(PHPMD.UnusedFormalParameter)

Definition at line 54 of file GlobalAnalyzer.php.

55  {
56  foreach ($this->commandList as $command) {
57  $command->execute($input, $output);
58  $output->writeln('');
59  }
60  }

The documentation for this class was generated from the following file: