Total Complexity | 4 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class MigrateCommand extends Command |
||
8 | { |
||
9 | protected $signature = 'content-migrate'; |
||
10 | |||
11 | protected $description = 'Run the content migrations'; |
||
12 | |||
13 | public function handle() |
||
14 | { |
||
15 | $this->prepareDatabase(); |
||
16 | |||
17 | $this->migrator->setOutput($this->output)->run($this->getMigrationPaths()); |
||
18 | |||
19 | return 0; |
||
20 | } |
||
21 | |||
22 | protected function prepareDatabase() |
||
26 | } |
||
27 | } |
||
28 | |||
29 | protected function getMigrationPath() |
||
34 |