Passed
Push — master ( 4954b5...87483c )
by Georgi
03:11
created

LogoCore   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A uninstall() 0 2 1
A boot() 0 4 1
A install() 0 2 1
1
<?php
2
3
namespace Epesi\Core\System\Logo;
4
5
use Epesi\Core\System\Integration\Modules\ModuleCore;
6
7
class LogoCore extends ModuleCore
8
{
9
	protected static $alias = 'system.logo';
10
	
11
	protected static $view = LogoSettings::class;
12
	
13
	protected static $joints = [
14
			Integration\LogoSystemSettings::class
15
	];
16
	
17
	public function install()
18
	{
19
		
20
	}
21
22
	public function uninstall()
23
	{
24
		
25
	}
26
	
27
	public static function boot()
28
	{
29
		// dynamically set the page title based on GUI setting
30
		config(['epesi.app.title' => LogoSettings::getTitle()]);
31
	}
32
}
33