| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | public function boot() |
||
| 13 | { |
||
| 14 | $this->publishes([ |
||
| 15 | __DIR__.'/../migrations/' => database_path('migrations') |
||
| 16 | ], 'migrations'); |
||
| 17 | |||
| 18 | if ($this->app->runningInConsole()) { |
||
| 19 | $this->publishes([ |
||
| 20 | __DIR__.'/../config/config.php' => config_path('otp.php'), |
||
| 21 | ], 'config'); |
||
| 22 | |||
| 23 | // Registering package commands. |
||
| 24 | // $this->commands([]); |
||
| 25 | } |
||
| 26 | } |
||
| 27 | |||
| 42 |