Total Complexity | 2 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 85.71% |
Changes | 0 |
1 | <?php |
||
7 | class Migrate extends BaseCommand |
||
8 | { |
||
9 | use ConfirmableTrait; |
||
10 | |||
11 | /** |
||
12 | * The console command name. |
||
13 | * |
||
14 | * @var string |
||
15 | */ |
||
16 | protected $signature = 'triadev:mapping:migrate {--index=} {--type=}'; |
||
17 | |||
18 | /** |
||
19 | * The console command description. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $description = 'Start the mapping migrations.'; |
||
24 | |||
25 | /** |
||
26 | * Execute the console command. |
||
27 | * |
||
28 | * @param Mapper $mapper |
||
29 | * @throws \Throwable |
||
30 | */ |
||
31 | 2 | public function handle(Mapper $mapper) |
|
44 |