Completed
Pull Request — dev (#26)
by nonanerz
03:06
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
    private $summary;
10
11
    private $description;
12
13
    private $location;
14
15
    /**
16
     * @var
17
     * @Assert\NotBlank()
18
     */
19
    private $start;
20
    /**
21
     * @var
22
     * @Assert\NotBlank()
23
     */
24
    private $end;
25
26
    /**
27
     * @return mixed
28
     */
29
    public function getSummary()
30
    {
31
        return $this->summary;
32
    }
33
34
    /**
35
     * @param mixed $summary
36
     */
37
    public function setSummary($summary)
38
    {
39
        $this->summary = $summary;
40
    }
41
42
    /**
43
     * @return mixed
44
     */
45
    public function getDescription()
46
    {
47
        return $this->description;
48
    }
49
50
    /**
51
     * @param mixed $description
52
     */
53
    public function setDescription($description)
54
    {
55
        $this->description = $description;
56
    }
57
58
    /**
59
     * @return mixed
60
     */
61
    public function getLocation()
62
    {
63
        return $this->location;
64
    }
65
66
    /**
67
     * @param mixed $location
68
     */
69
    public function setLocation($location)
70
    {
71
        $this->location = $location;
72
    }
73
74
    /**
75
     * @return mixed
76
     */
77
    public function getStart()
78
    {
79
        return $this->start;
80
    }
81
82
    /**
83
     * @param mixed $start
84
     */
85
    public function setStart($start)
86
    {
87
        $this->start = $start;
88
    }
89
90
    /**
91
     * @return mixed
92
     */
93
    public function getEnd()
94
    {
95
        return $this->end;
96
    }
97
98
    /**
99
     * @param mixed $end
100
     */
101
    public function setEnd($end)
102
    {
103
        $this->end = $end;
104
    }
105
}
106