| Conditions | 3 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | public function boot(Application $app) |
||
| 24 | { |
||
| 25 | if(isset($app['console'])) { |
||
| 26 | $console = $app['console']; |
||
| 27 | if(get_class($console) == "Saxulum\Console\Console\ConsoleApplication") { |
||
| 28 | /** @var \Saxulum\Console\Console\ConsoleApplication $console */ |
||
| 29 | $console->add(new DumpJSCommand()); |
||
| 30 | $console->add(new DumpRouterCommand()); |
||
| 31 | } |
||
| 32 | } |
||
| 33 | } |
||
| 34 | |||
| 42 |