Completed
Push — dev ( f2abe4...3f06d3 )
by nonanerz
05:36 queued 05:30
created

Filter   A

Complexity

Total Complexity 10

Size/Duplication

Total Lines 107
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 8%

Importance

Changes 1
Bugs 1 Features 0
Metric Value
wmc 10
lcom 0
cbo 0
dl 0
loc 107
ccs 2
cts 25
cp 0.08
rs 10
c 1
b 1
f 0

10 Methods

Rating   Name   Duplication   Size   Complexity  
A getName() 0 4 1
A setName() 0 4 1
A getType() 0 4 1
A setType() 0 4 1
A getDecision() 0 4 1
A setDecision() 0 4 1
A getStart() 0 4 1
A setStart() 0 4 1
A getEnd() 0 4 1
A setEnd() 0 4 1
1
<?php
2
3
namespace AppBundle\Entity\DTO;
4
5
use DateTime;
6
7
class Filter
8
{
9
    /**
10
     * @var string
11
     */
12
    public $name;
13
14
    /**
15
     * @var string $type
16
     */
17
    public $type;
18
19
    /**
20
     * @var string $decision
21
     */
22
    public $decision;
23
24
    /**
25
     * @var DateTime
26
     */
27
    public $start;
28
29
    /**
30
     * @var DateTime
31
     */
32
    public $end;
33
    
34
    /**
35
     * @return string
36
     */
37 3
    public function getName()
38
    {
39 3
        return $this->name;
40
    }
41
42
    /**
43
     * @param string $name
44
     */
45
    public function setName(string $name)
46
    {
47
        $this->name = $name;
48
    }
49
50
    /**
51
     * @return string
52
     */
53
    public function getType()
54
    {
55
        return $this->type;
56
    }
57
58
    /**
59
     * @param string $type
60
     */
61
    public function setType(string $type)
62
    {
63
        $this->type = $type;
64
    }
65
66
    /**
67
     * @return string
68
     */
69
    public function getDecision()
70
    {
71
        return $this->decision;
72
    }
73
74
    /**
75
     * @param string $decision
76
     */
77
    public function setDecision(string $decision)
78
    {
79
        $this->decision = $decision;
80
    }
81
82
    /**
83
     * @return DateTime
84
     */
85
    public function getStart()
86
    {
87
        return $this->start;
88
    }
89
90
    /**
91
     * @param DateTime $start
92
     */
93
    public function setStart($start)
94
    {
95
        $this->start = $start;
96
    }
97
98
    /**
99
     * @return DateTime
100
     */
101
    public function getEnd()
102
    {
103
        return $this->end;
104
    }
105
106
    /**
107
     * @param DateTime $end
108
     */
109
    public function setEnd($end)
110
    {
111
        $this->end = $end;
112
    }
113
}
114