Main::render()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 5
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 0
1
<?php
2
namespace phoponent\app\component\core;
3
4
    use phoponent\framework\classe\xphp_tag;
5
6
	class Main extends xphp_tag {
7
        public function render():string {
8
        	return $this->get_view('Main')
9
						->set_vars([
10
							'title' => $this->attribute('title')
11
						])->render();
12
        }
13
    }