| Conditions | 2 |
| Paths | 2 |
| Total Lines | 17 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | public function boot() |
||
| 11 | { |
||
| 12 | $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); |
||
| 13 | $this->loadRoutesFrom(__DIR__.'/routes.php'); |
||
| 14 | |||
| 15 | if ($this->app->runningInConsole()) { |
||
| 16 | |||
| 17 | $this->publishes([ |
||
| 18 | __DIR__.'/../config/config.php' => config_path('tcmb.php'), |
||
| 19 | ], 'config'); |
||
| 20 | |||
| 21 | $this->publishes([ |
||
| 22 | __DIR__.'/../database/migrations/' => database_path('migrations') |
||
| 23 | ], 'migrations'); |
||
| 24 | |||
| 25 | $this->commands([ |
||
| 26 | SyncRatesCommand::class |
||
| 27 | ]); |
||
| 39 |