Conditions | 2 |
Paths | 2 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
13 | 1 | public function addToContainer(Container $c) |
|
14 | { |
||
15 | 1 | $app = $c->has(ConsoleApplication::class) ? $c->get(ConsoleApplication::class) : new ConsoleApplication(); |
|
16 | 1 | $consoleCommands = $c->get('consoleCommands'); |
|
17 | 1 | $app->addCommands($consoleCommands); |
|
18 | } |
||
20 |