SystemCore::migrate()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 7
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Epesi\Core\System;
4
5
class SystemCore extends Modules\ModuleCore
6
{
7
	protected static $alias = 'system';
8
	
9
	protected static $view = SystemSettings::class;
10
	
11
	protected static $joints = [
12
			Integration\SystemSettingsUserMenu::class,
13
			Integration\ModuleAdministrationSystemSettings::class
14
	];
15
	
16
	protected static $requires = [
17
			\Epesi\Core\Layout\LayoutCore::class,
18
			User\UserCore::class,
19
	];
20
	
21
	protected static $recommends = [
22
			'dashboard'
23
	];
24
	
25
	public function migrate()
26
	{
27
	    Model\Module::migrate();
28
	    
29
	    Model\Variable::migrate();
30
	    
31
	    return parent::migrate();
32
	}
33
	
34
}
35