| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 28 | { |
||
| 29 | $command = $this->getApplication()->find('element:set'); |
||
| 30 | $input = new ArrayInput([ |
||
| 31 | 'command' => $command->getName(), |
||
| 32 | 'class' => 'Magium\Util\Api\ApiConfiguration', |
||
| 33 | 'property' => 'enabled', |
||
| 34 | 'value' => $this->getValue(), |
||
| 35 | ]); |
||
| 36 | $command->run($input, $output); |
||
| 37 | } |
||
| 38 | |||
| 40 | } |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.