Completed
Pull Request — master (#30)
by
unknown
03:43
created

DtoEvent::getLocation()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
ccs 0
cts 4
cp 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace AppBundle\Entity\DTO;
4
5
use Symfony\Component\Validator\Constraints as Assert;
6
7
class DtoEvent
8
{
9
    /**
10
     * @var Assert\NotBlank
11
     */
12
    private $user;
13
14
    private $summary;
15
16
    private $description;
17
18
    private $location;
19
20
    /**
21
     * @var
22
     * @Assert\NotBlank()
23
     */
24
    private $start;
25
    /**
26
     * @var
27
     * @Assert\NotBlank()
28
     */
29
    private $end;
30
31
    /**
32
     * @return mixed
33
     */
34
    public function getSummary()
35
    {
36
        return $this->summary;
37
    }
38
39
    /**
40
     * @param mixed $summary
41
     */
42
    public function setSummary($summary)
43
    {
44
        $this->summary = $summary;
45
    }
46
47
    /**
48
     * @return mixed
49
     */
50
    public function getDescription()
51
    {
52
        return $this->description;
53
    }
54
55
    /**
56
     * @param mixed $description
57
     */
58
    public function setDescription($description)
59
    {
60
        $this->description = $description;
61
    }
62
63
    /**
64
     * @return mixed
65
     */
66
    public function getLocation()
67
    {
68
        return $this->location;
69
    }
70
71
    /**
72
     * @param mixed $location
73
     */
74
    public function setLocation($location)
75
    {
76
        $this->location = $location;
77
    }
78
79
    /**
80
     * @return mixed
81
     */
82
    public function getStart()
83
    {
84
        return $this->start;
85
    }
86
87
    /**
88
     * @param mixed $start
89
     */
90
    public function setStart($start)
91
    {
92
        $this->start = $start;
93
    }
94
95
    /**
96
     * @return mixed
97
     */
98
    public function getEnd()
99
    {
100
        return $this->end;
101
    }
102
103
    /**
104
     * @param mixed $end
105
     */
106
    public function setEnd($end)
107
    {
108
        $this->end = $end;
109
    }
110
111
    /**
112
     * @return mixed
113
     */
114
    public function getUser()
115
    {
116
        return $this->user;
117
    }
118
119
    /**
120
     * @param mixed $user
121
     *
122
     * @return $this
123
     */
124
    public function setUser($user)
125
    {
126
        $this->user = $user;
127
128
        return $this;
129
    }
130
}
131