Passed
Push — master ( 3256e3...60c4f2 )
by Georgi
03:14
created

FileStorageList::getNodeForm()   A

Complexity

Conditions 4
Paths 2

Size

Total Lines 23
Code Lines 12

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 12
c 1
b 0
f 0
dl 0
loc 23
rs 9.8666
cc 4
nc 2
nop 0
1
<?php
2
3
namespace Epesi\FileStorage;
4
5
use Epesi\Core\System\Integration\Modules\ModuleView;
6
use Illuminate\Support\Facades\Auth;
7
use Epesi\Core\Layout\Seeds\ActionBar;
8
9
class FileStorageList extends ModuleView
10
{
11
	protected $label = 'File Storage';
12
	
13
	public static function access()
14
	{
15
		return Auth::user()->can('modify system settings');
16
	}
17
	
18
	public function body()
19
	{
20
		ActionBar::addButton('back')->link(url('view/system'));
21
22
// 		$this->displayGrid();
23
	}
24
25
}
26