Completed
Push — master ( db82f0...0ba4b1 )
by Jean-Christophe
03:22
created

HtmlSemSingleElement   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 2
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\base;
4
5
use Ajax\common\html\HtmlSingleElement;
6
use Ajax\semantic\html\base\traits\BaseTrait;
7
8
/**
9
 * Base class for Semantic single elements
10
 * @author jc
11
 * @version 1.001
12
 */
13
14
class HtmlSemSingleElement extends HtmlSingleElement {
15
	use BaseTrait;
16
	public function __construct($identifier, $tagName="br",$baseClass="ui") {
17
		parent::__construct($identifier, $tagName);
18
		$this->_baseClass=$baseClass;
19
		$this->setClass($baseClass);
20
	}
21
}