Html   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 19
c 0
b 0
f 0
wmc 2
lcom 0
cbo 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A getContent() 0 3 1
1
<?php
2
namespace rtens\domin\parameters;
3
4
class Html {
5
6
    /** @var string */
7
    private $content;
8
9
    /**
10
     * @param string $content
11
     */
12
    public function __construct($content = '') {
13
        $this->content = $content;
14
    }
15
16
    /**
17
     * @return string
18
     */
19
    public function getContent() {
20
        return $this->content;
21
    }
22
}