Completed
Push — master ( 010ee5...249aeb )
by Jean-Christophe
03:12
created

HtmlSemSingleElement::addContent()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 1
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 2
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
22
	/**
23
	 * {@inheritDoc}
24
	 * @see \Ajax\semantic\html\base\traits\BaseTrait::addContent()
25
	 */
26
	public function addContent($content, $before=false) {}
1 ignored issue
show
Unused Code introduced by
The parameter $content is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $before is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
27
28
}