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

LogoCore::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
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 4
rs 10
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