Passed
Push — master ( 2ddbf5...80a11e )
by Georgi
07:18
created

LogoCore::install()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 2
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 static function boot()
18
	{
19
		// dynamically set the page title based on GUI setting
20
		config(['epesi.app.title' => LogoSettings::getTitle()]);
21
	}
22
}
23