| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function __construct(GetOpt $getopt) |
||
| 30 | { |
||
| 31 | $this->getopt = $getopt; |
||
| 32 | $getopt->addCommands([ |
||
| 33 | \GetOpt\Command::create('elasticsearch', Console\Elasticsearch::class) |
||
| 34 | ->addOptions(Console\Elasticsearch::getOptions()) |
||
| 35 | ->addOperands(Console\Elasticsearch::getOperands()), |
||
| 36 | ]); |
||
| 37 | } |
||
| 38 | } |
||
| 39 |