Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
17 | protected function configure() |
||
18 | { |
||
19 | $this |
||
20 | ->setName('saxulum:elasticsearch:querybuilder:generator:querybuilder') |
||
21 | ->setDescription('Generate the node code of a elasticsearch json query.') |
||
22 | ->addArgument('query', InputArgument::REQUIRED, 'The json query.') |
||
23 | ->addOption('useMethodName', 'm', InputOption::VALUE_NONE, 'Use method names as addToObjectNode') |
||
24 | ; |
||
25 | } |
||
26 | |||
42 |