Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
7 | class ProfileFlatItem extends Component |
||
8 | { |
||
9 | public $badge; |
||
10 | public $title; |
||
11 | public $text; |
||
12 | public $url; |
||
13 | |||
14 | 1 | public function __construct($badge = 'info', $title, $text, $url = '#') |
|
15 | { |
||
16 | 1 | $this->badge = $badge; |
|
17 | 1 | $this->title = $title; |
|
18 | 1 | $this->text = $text; |
|
19 | 1 | $this->url = $url; |
|
20 | 1 | } |
|
21 | |||
22 | 1 | public function render() |
|
25 | } |
||
26 | } |
||
27 |