Configuration::setNumberOfSeance()   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 1
1
<?php
2
3
namespace Cp\DomainObject;
4
5
/**
6
 * Class Category
7
 */
8
class Configuration
9
{
10
    /**
11
     * @var string
12
     */
13
    private $type;
14
15
    /**
16
     * @var int
17
     */
18
    private $numberOfWeek;
19
20
    /**
21
     * @var int
22
     */
23
    private $numberOfSeance;
24
25
    /**
26
     * @return string
27
     */
28
    public function getType()
29
    {
30
        return $this->type;
31
    }
32
33
    /**
34
     * @param string $type
35
     */
36
    public function setType($type)
37
    {
38
        $this->type = $type;
39
    }
40
41
    /**
42
     * @return int
43
     */
44
    public function getNumberOfWeek()
45
    {
46
        return $this->numberOfWeek;
47
    }
48
49
    /**
50
     * @param int $numberOfWeek
51
     */
52
    public function setNumberOfWeek($numberOfWeek)
53
    {
54
        $this->numberOfWeek = $numberOfWeek;
55
    }
56
57
    /**
58
     * @return int
59
     */
60
    public function getNumberOfSeance()
61
    {
62
        return $this->numberOfSeance;
63
    }
64
65
    /**
66
     * @param int $numberOfSeance
67
     */
68
    public function setNumberOfSeance($numberOfSeance)
69
    {
70
        $this->numberOfSeance = $numberOfSeance;
71
    }
72
73
}
74