| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 11 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | 6 | public function configure(Application $app) |
|
| 28 | { |
||
| 29 | 6 | $app->command( |
|
| 30 | 6 | 'add-prefix prefix path*', |
|
| 31 | 6 | function ($prefix, $path, OutputInterface $output) { |
|
| 32 | 6 | $formatter = new BasicFormatter($output); |
|
| 33 | 6 | $formatter->outputScopingStart(); |
|
| 34 | 6 | $handler = new AddPrefixCommandHandler(); |
|
| 35 | 6 | $handler->handle($prefix, $path, $formatter); |
|
| 36 | 5 | $formatter->outputScopingEnd(); |
|
| 37 | 6 | } |
|
| 38 | ); |
||
| 39 | 6 | } |
|
| 40 | } |
||
| 41 |