| Conditions | 3 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | 1 | #[\Override] |
|
| 26 | protected function execute(InputInterface $input, OutputInterface $output) { |
||
| 27 | 1 | $fqcn = $this->gatewayFactory->getFqcnList(); |
|
| 28 | 1 | foreach ($fqcn as $fqcn) { |
|
| 29 | /** @var AGateway */ |
||
| 30 | 1 | $gateway = $this->gatewayFactory->get($fqcn); |
|
| 31 | 1 | $isConfigured = $gateway->isComplete(); |
|
| 32 | 1 | $settings = $gateway->getSettings(); |
|
| 33 | 1 | $output->writeln($settings->name . ': ' . ($isConfigured ? 'configured' : 'not configured')); |
|
| 34 | } |
||
| 35 | 1 | return 0; |
|
| 36 | } |
||
| 38 |