Title::get_title()   A
last analyzed

Complexity

Conditions 2
Paths 2

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 2
c 0
b 0
f 0
rs 10
cc 2
nc 2
nop 1
1
<?php
2
namespace phoponent\app\component\core\HomeTitle\mvc\model;
3
4
use phoponent\framework\traits\model;
5
6
class Title
7
{
8
	use model;
9
    public function get_title($title) {
10
        return is_null($title) ? 'Accueil' : $title;
11
    }
12
}