Total Complexity | 3 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class ServiceProvider extends BaseProvider |
||
8 | { |
||
9 | /** |
||
10 | * Register bindings in the container. |
||
11 | * |
||
12 | * @return void |
||
13 | */ |
||
14 | public function register() |
||
15 | { |
||
16 | $this->registerCommands(); |
||
17 | } |
||
18 | |||
19 | /** |
||
20 | * Register any other events for your application. |
||
21 | * |
||
22 | * @return void |
||
23 | */ |
||
24 | public function boot() |
||
25 | { |
||
26 | $this->publishes([ |
||
27 | __DIR__.'/Migrations/' => database_path('migrations'), |
||
28 | ], 'migrations'); |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * Register Artisan commands. |
||
33 | */ |
||
34 | protected function registerCommands() |
||
47 | } |
||
48 | } |
||
49 |