| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | 105 | public function boot() |
|
| 14 | { |
||
| 15 | // Config |
||
| 16 | 105 | $this->publishes([ |
|
| 17 | 105 | __DIR__.'/../config/enum.php' => config_path('enum.php'), |
|
| 18 | 105 | ], 'config'); |
|
| 19 | |||
| 20 | // Command |
||
| 21 | 105 | if ($this->app->runningInConsole()) { |
|
| 22 | 105 | $this->commands([ |
|
| 23 | 105 | EnumMakeCommand::class, |
|
| 24 | ]); |
||
| 25 | } |
||
| 26 | 105 | } |
|
| 27 | |||
| 36 |