HomeTitle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 7
dl 0
loc 8
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A render() 0 7 1
1
<?php
2
namespace phoponent\app\component\core;
3
4
use phoponent\framework\classe\xphp_tag;
5
6
class HomeTitle extends xphp_tag {
7
	public function render(): string {
8
        $title = $this->get_model('Title')
9
					  ->get_title($this->attribute('title'));
10
		return $this->get_view('HomeTitle')
11
					->set_vars([
12
						'title' => $title,
13
					])->render();
14
	}
15
}