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\custom\HomeTitle\mvc\model;
3
4
use phoponent\framework\traits\model;
5
6
class Title extends \phoponent\app\component\core\HomeTitle\mvc\model\Title {
7
	use model;
8
    public function get_title($title) {
9
        return is_null($title) ? 'Accueil' : $title;
10
    }
11
}