Passed
Push — master ( 992e52...dc2c5c )
by Georgi
03:52
created

UserMenu   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 6
c 1
b 0
f 0
dl 0
loc 8
rs 10
wmc 1

1 Method

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