| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function __invoke($args) |
||
| 21 | { |
||
| 22 | /** @var BaseCommand $command */ |
||
| 23 | $command = $this->container->resolve($this->commands[$args['command']]); |
||
| 24 | |||
| 25 | return json_encode([ |
||
| 26 | 'arguments' => $this->constructArguments($command), |
||
| 27 | 'options' => $this->constructOptions($command) |
||
| 28 | ]); |
||
| 59 |