Total Complexity | 6 |
Total Lines | 52 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class GroupAddTestData extends BaseAddTestData |
||
16 | { |
||
17 | /** |
||
18 | * Returns the list of task names which this task depends on. |
||
19 | * |
||
20 | * @return string[] List of task names |
||
21 | */ |
||
22 | public function after() : array |
||
23 | { |
||
24 | return ['Group', 'MShopSetLocale']; |
||
25 | } |
||
26 | |||
27 | |||
28 | /** |
||
29 | * Adds customer test data. |
||
30 | */ |
||
31 | public function up() |
||
32 | { |
||
33 | $this->info( 'Adding group test data', 'vv' ); |
||
34 | $this->context()->setEditor( 'core' ); |
||
|
|||
35 | |||
36 | $this->process(); |
||
37 | } |
||
38 | |||
39 | |||
40 | /** |
||
41 | * Adds the customer data |
||
42 | * |
||
43 | * @throws \RuntimeException |
||
44 | */ |
||
45 | protected function process() |
||
67 | } |
||
68 | } |
||
69 |