NormalizedValueVariant   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 31
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getValue() 0 4 1
A setValue() 0 4 1
1
<?php
2
3
namespace Ionut\Sylar;
4
5
6
class NormalizedValueVariant
7
{
8
    /**
9
     * @var string
10
     */
11
    protected $value;
12
13
    /**
14
     * @param string $value
15
     */
16
    public function __construct($value)
17
    {
18
        $this->value = $value;
19
    }
20
21
    /**
22
     * @return string
23
     */
24
    public function getValue()
25
    {
26
        return $this->value;
27
    }
28
29
    /**
30
     * @param string $value
31
     */
32
    public function setValue($value)
33
    {
34
        $this->value = $value;
35
    }
36
}