Completed
Push — master ( e04e71...98392d )
by Jean-Christophe
03:50
created

HtmlImg   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
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 9
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace Ajax\semantic\html\elements\html5;
4
5
use Ajax\semantic\html\base\traits\BaseTrait;
6
7
class HtmlImg extends \Ajax\common\html\html5\HtmlImg {
8
	use BaseTrait;
9
10
	public function __construct($identifier, $src="", $alt="") {
11
		parent::__construct($identifier, $src, $alt);
12
		$this->_baseClass="ui image";
13
		$this->setClass($this->_baseClass);
14
	}
15
}