| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 1 | Features | 2 |
| 1 | <?php |
||
| 44 | 12 | protected function execute(InputInterface $input, OutputInterface $output) |
|
| 45 | { |
||
| 46 | 12 | $handler = $input->getArgument('handler'); |
|
| 47 | 12 | $workload = $input->getArgument('workload'); |
|
| 48 | |||
| 49 | 12 | $output->writeln(sprintf('Run command "%s" with workload "%s"', $handler, $workload)); |
|
| 50 | |||
| 51 | 12 | $result = $this->registry->run($handler, $workload); |
|
| 52 | |||
| 53 | 12 | $output->writeln(sprintf('Result: "%s"', $result)); |
|
| 54 | 12 | } |
|
| 55 | } |
||
| 56 |