DashboardSystemSettings   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 14
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A icon() 0 3 1
A label() 0 3 1
A link() 0 2 1
1
<?php 
2
3
namespace Epesi\Base\Dashboard\Integration;
4
5
use Epesi\Core\System\Integration\Joints\SystemSettingsJoint;
6
7
class DashboardSystemSettings extends SystemSettingsJoint
8
{
9
	public function label()
10
	{
11
		return __('Dashboard');
12
	}
13
14
	public function icon()
15
	{
16
		return 'desktop';
17
	}
18
	
19
	public function link() {
20
		return ['dashboard', 'editDashboard', ['admin' => true, 'label' => __('System Settings')]];
21
	}
22
}