Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
11 | class Value |
||
12 | { |
||
13 | /** @var mixed */ |
||
14 | protected $content = ''; |
||
15 | |||
16 | /** |
||
17 | * @param mixed $content |
||
18 | */ |
||
19 | 12 | public function __construct($content = '') |
|
20 | { |
||
21 | 12 | $this->content = $content; |
|
22 | } |
||
23 | |||
24 | /** |
||
25 | * @param mixed $content |
||
26 | * @return $this |
||
27 | */ |
||
28 | 2 | public function setContent($content): self |
|
32 | } |
||
33 | |||
34 | 10 | public function getContent(): string |
|
37 | } |
||
38 | } |
||
39 |