ConfigValue   A
last analyzed

Complexity

Total Complexity 7

Size/Duplication

Total Lines 49
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 7
eloc 15
c 1
b 0
f 0
dl 0
loc 49
rs 10

7 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 3 1
A getValue() 0 3 1
A setPath() 0 5 1
A setScope() 0 5 1
A getScope() 0 3 1
A getPath() 0 3 1
A setValue() 0 5 1
1
<?php
2
/**
3
 * @author    oliverde8<[email protected]>
4
 * @category  @category  oliverde8/ComfyBundle
5
 */
6
7
namespace oliverde8\ComfyBundle\Entity;
8
9
class ConfigValue
10
{
11
    private $id;
12
13
    private $path;
14
15
    private $scope;
16
17
    private $value;
18
19
    public function getId(): ?int
20
    {
21
        return $this->id;
22
    }
23
24
    public function getPath(): ?string
25
    {
26
        return $this->path;
27
    }
28
29
    public function setPath(string $path): self
30
    {
31
        $this->path = $path;
32
33
        return $this;
34
    }
35
36
    public function getScope(): ?string
37
    {
38
        return $this->scope;
39
    }
40
41
    public function setScope(string $scope): self
42
    {
43
        $this->scope = $scope;
44
45
        return $this;
46
    }
47
48
    public function getValue(): ?string
49
    {
50
        return $this->value;
51
    }
52
53
    public function setValue(?string $value): self
54
    {
55
        $this->value = $value;
56
57
        return $this;
58
    }
59
}