| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | 1 | protected function execute(InputInterface $input, OutputInterface $output) |
|
| 35 | { |
||
| 36 | 1 | $nome = $input->getArgument("nome"); |
|
| 37 | 1 | $diretorio = $input->getArgument("diretorio"); |
|
| 38 | 1 | $moduleName = $input->getArgument("nomeModule"); |
|
| 39 | |||
| 40 | 1 | $module = new Module($moduleName, $diretorio); |
|
| 41 | 1 | \Saci\Console\Domain\Entity\Command::create($nome, $module); |
|
| 42 | |||
| 43 | 1 | $output->writeln("Command Handler {$nome} foi criado"); |
|
| 44 | } |
||
| 45 | } |