| Conditions | 3 |
| Paths | 3 |
| Total Lines | 20 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | public function boot() |
||
| 10 | { |
||
| 11 | $this->loadTranslationsFrom( |
||
| 12 | __DIR__ . '/../resources/lang', |
||
| 13 | 'wallet' |
||
| 14 | ); |
||
| 15 | |||
| 16 | if (!$this->app->runningInConsole()) { |
||
| 17 | return; |
||
| 18 | } |
||
| 19 | |||
| 20 | if (\function_exists('config_path')) { |
||
| 21 | $this->publishes([ |
||
| 22 | __DIR__ . '/../config/wallet.php' => config_path('wallet.php') |
||
| 23 | ], 'wallet-config'); |
||
| 24 | } |
||
| 25 | |||
| 26 | $this->publishes([ |
||
| 27 | __DIR__ . '/../database/migrations' => database_path('migrations'), |
||
| 28 | ], 'wallet-migrations'); |
||
| 29 | } |
||
| 44 |