Passed
Push — main ( 2e28d4...91b310 )
by James Ekow Abaka
10:53
created

Html   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 12
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A render() 0 3 1
1
<?php
2
namespace ntentan\honam\engines\php\helpers\form;
3
4
class Html extends Element
5
{
6
    private $htmlCode;
7
8
    public function __construct(string $htmlCode)
9
    {
10
        $this->htmlCode = $htmlCode;
11
    }
12
13
    public function render(): string
14
    {
15
        return $this->htmlCode;
16
    }
17
}
18