Completed
Push — master ( 5eca3e...19ac8a )
by Jean-Christophe
03:24
created

HtmlMessage   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace Ajax\semantic\html\collections;
4
5
use Ajax\semantic\html\base\HtmlSemDoubleElement;
6
/**
7
 * Semantic Message component
8
 * @see http://semantic-ui.com/collections/message.html
9
 * @author jc
10
 * @version 1.001
11
 */
12
class HtmlMessage extends HtmlSemDoubleElement {
13
14
	public function __construct($identifier, $content="") {
15
		parent::__construct($identifier, "div");
16
		$this->setClass("ui message");
17
		$this->setContent($content);
18
	}
19
}