SystemSettingsJoint::access()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php 
2
3
namespace Epesi\Core\System\Integration\Joints;
4
5
use Epesi\Core\System\Modules\ModuleJoint;
6
use Epesi\Core\System\Modules\Concerns\HasLaunchButton;
7
use Epesi\Core\System\Modules\Concerns\HasOptions;
8
9
abstract class SystemSettingsJoint extends ModuleJoint
10
{
11
	use HasOptions;
0 ignored issues
show
Bug introduced by
The trait Epesi\Core\System\Modules\Concerns\HasOptions requires the property $model which is not provided by Epesi\Core\System\Integr...nts\SystemSettingsJoint.
Loading history...
12
	use HasLaunchButton;
13
	
14
	/**
15
	 * Define the section under which admin button is displayed
16
	 *
17
	 * @return string|array|null
18
	 */
19
	public function section()
20
	{
21
		return __('General');
22
	}
23
	
24
	public static function access()
25
	{
26
		return __('General');
27
	}
28
}