Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class DeployMigrationServiceProvider extends ServiceProvider |
||
12 | { |
||
13 | public function boot() |
||
14 | { |
||
15 | $this->loadMigrationsFrom(__DIR__ . '/migrations'); |
||
16 | |||
17 | if ($this->app->runningInConsole()) { |
||
18 | $this->commands([ |
||
19 | RunDeployMigrationsCommand::class, |
||
20 | CreateMigrationCommand::class |
||
21 | ]); |
||
22 | } |
||
23 | |||
24 | $this->publishes([ |
||
25 | __DIR__ . '/Config' => config_path() |
||
26 | ]); |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * |
||
31 | */ |
||
32 | public function register() |
||
35 | } |
||
36 | } |