| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | 1 | public function boot() |
|
| 15 | { |
||
| 16 | 1 | $this->publishes([ |
|
| 17 | 1 | __DIR__.'/../config/js-routes.php' => config_path('js-routes.php'), |
|
| 18 | 1 | ], 'config'); |
|
| 19 | |||
| 20 | 1 | $this->publishes([ |
|
| 21 | 1 | __DIR__.'/../resources/js/router.js' => resource_path('js/router.js'), |
|
| 22 | ], 'resources'); |
||
| 23 | 1 | ||
| 24 | $this->commands([ |
||
| 25 | Console\GenerateJsRoutesCommand::class, |
||
| 26 | ]); |
||
| 39 |