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\custom;
3
4
	class Main extends \phoponent\app\component\core\Main {
5
        public function render():string {
6
        	return $this->get_view('Main')
7
						->set_vars([
8
							'title' => $this->attribute('title')
9
						])->render();
10
        }
11
    }