Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
13 | class MigrationsServiceProvider extends AbstractSignatureServiceProvider |
||
14 | { |
||
15 | /** |
||
16 | * @inheritdoc |
||
17 | */ |
||
18 | public function register() |
||
21 | } |
||
22 | |||
23 | protected function registerMigrator() |
||
24 | { |
||
25 | $this->getContainer()->share('migrations.migrator', function () { |
||
26 | $migrator = $this->getContainer()->get(Migrator::class); |
||
27 | return $migrator; |
||
28 | }); |
||
29 | } |
||
30 | |||
31 | protected function registerCommands() |
||
32 | { |
||
33 | $this->commands( |
||
34 | MigrateCommand::class, |
||
35 | CreateCommand::class |
||
36 | ); |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @inheritdoc |
||
41 | */ |
||
42 | public function provides() |
||
45 | } |
||
46 | } |
||
47 |