Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
32 | protected function execute(InputInterface $input, OutputInterface $output) |
||
33 | { |
||
34 | $generator = new QueryBuilderGenerator(new PhpGenerator(), $input->getOption('useMethodName')); |
||
35 | |||
36 | $output->writeln('<info>Generated code:</info>'); |
||
37 | $output->writeln($generator->generateByJson($input->getArgument('query'))); |
||
38 | |||
39 | return 0; |
||
40 | } |
||
41 | } |
||
42 |