Conditions | 2 |
Paths | 2 |
Total Lines | 24 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
12 | public function boot() |
||
13 | { |
||
14 | /* |
||
15 | * Optional methods to load your package assets |
||
16 | */ |
||
17 | |||
18 | $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); |
||
19 | |||
20 | if ($this->app->runningInConsole()) { |
||
21 | // $this->publishes([ |
||
22 | // __DIR__.'/../config/config.php' => config_path('bangladesh-geocode.php'), |
||
23 | // ], 'config'); |
||
24 | |||
25 | $this->publishes([ |
||
26 | __DIR__.'/../database/migrations' => database_path('migrations'), |
||
27 | ], 'bangladesh-geocode-migrations'); |
||
28 | $this->publishes([ |
||
29 | __DIR__.'/../database/seeders' => database_path('seeders'), |
||
30 | ], 'bangladesh-geocode-seeders'); |
||
31 | |||
32 | // Registering package commands. |
||
33 | // $this->commands([]); |
||
34 | } |
||
35 | } |
||
36 | |||
51 |