Poll::getEvent()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/*
4
 * This is part of the webuni/srazy-api-client.
5
 *
6
 * (c) Martin Hasoň <[email protected]>
7
 * (c) Webuni s.r.o. <[email protected]>
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12
13
namespace Webuni\Srazy\Model;
14
15
class Poll
16
{
17
    private $name;
18
19
    private $event;
20
21
    private $choices;
22
23
    public function getName()
24
    {
25
        return $this->name;
26
    }
27
28
    public function setName($name)
29
    {
30
        $this->name = $name;
31
    }
32
33
    public function getEvent()
34
    {
35
        return $this->event;
36
    }
37
38
    public function setEvent(Event $event)
39
    {
40
        $this->event = $event;
41
    }
42
43
    public function getChoices()
44
    {
45
        return $this->choices;
46
    }
47
48
    public function setChoices($choices)
49
    {
50
        $this->choices = $choices;
51
    }
52
}
53