SystemSettingsUserMenu   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 7
c 0
b 0
f 0
dl 0
loc 13
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A entries() 0 6 1
A access() 0 3 1
1
<?php 
2
3
namespace Epesi\Core\System\Integration;
4
5
use Epesi\Core\Layout\Integration\Joints\UserMenuJoint;
6
use Epesi\Core\System\SystemSettings;
7
8
class SystemSettingsUserMenu extends UserMenuJoint
9
{
10
	public static function access()
11
	{
12
		return SystemSettings::access();
13
	}
14
	
15
	public function entries() {
16
		return [
17
				'admin' => [
18
						'item' => [__('System Settings'), 'icon' => 'settings', 'class' => ['pjax']],
19
						'action' => url('view/system'),
20
						'group' => '10000:user'
21
				]
22
		];
23
	}
24
}