Title   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 3
dl 0
loc 5
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A get_title() 0 2 2
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
}