| @@ 107-113 (lines=7) @@ | ||
| 104 | throw new InvalidArgumentException('Unknown setting: ' . $settingArgument); |
|
| 105 | } |
|
| 106 | $output->writeln((string) $settings[$settingArgument]); |
|
| 107 | } else { |
|
| 108 | /* @var $tableHelper TableHelper */ |
|
| 109 | $tableHelper = $this->getHelper('table'); |
|
| 110 | $tableHelper |
|
| 111 | ->setHeaders(array('Name', 'Value')) |
|
| 112 | ->renderByFormat($output, $rows, $input->getOption('format')); |
|
| 113 | } |
|
| 114 | } |
|
| 115 | } |
|
| 116 | ||
| @@ 98-104 (lines=7) @@ | ||
| 95 | throw new InvalidArgumentException('Unknown key: ' . $settingArgument); |
|
| 96 | } |
|
| 97 | $output->writeln((string) $this->infos[$settingArgument]); |
|
| 98 | } else { |
|
| 99 | /* @var $tableHelper TableHelper */ |
|
| 100 | $tableHelper = $this->getHelper('table'); |
|
| 101 | $tableHelper |
|
| 102 | ->setHeaders(array('name', 'value')) |
|
| 103 | ->renderByFormat($output, $table, $input->getOption('format')); |
|
| 104 | } |
|
| 105 | } |
|
| 106 | ||
| 107 | protected function magentoVersion() |
|