Project::getCredential()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace PRReviewWatcher\Entity;
4
5
class Project
6
{
7
    /**
8
     * @var int
9
     */
10
    private $id;
11
    /**
12
     * @var string
13
     */
14
    private $name;
15
    /**
16
     * @var string
17
     */
18
    private $branch;
19
    /**
20
     * @var string
21
     */
22
    private $credential;
23
    /**
24
     * @var string
25
     */
26
    private $comment;
27
    /**
28
     * @var int
29
     */
30
    private $alive;
31
    /**
32
     * @var int
33
     */
34
    private $numberTaskList;
35
36
    public function getId()
37
    {
38
        return $this->id;
39
    }
40
41
    public function setId($id)
42
    {
43
        $this->id = $id;
44
    }
45
46
    public function getName()
47
    {
48
        return $this->name;
49
    }
50
51
    public function setName($name)
52
    {
53
        $this->name = $name;
54
    }
55
56
    public function getBranch()
57
    {
58
        return $this->branch;
59
    }
60
61
    public function setBranch($branch)
62
    {
63
        $this->branch = $branch;
64
    }
65
66
    public function getCredential()
67
    {
68
        return $this->credential;
69
    }
70
71
    public function setCredential($credential)
72
    {
73
        $this->credential = $credential;
74
    }
75
76
    public function getComment()
77
    {
78
        return $this->comment;
79
    }
80
81
    public function setComment($comment)
82
    {
83
        $this->comment = $comment;
84
    }
85
86
    public function getAlive()
87
    {
88
        return (boolean)$this->alive;
89
    }
90
91
    public function setAlive($alive)
92
    {
93
        $this->alive = $alive;
94
    }
95
96
    public function getNumberTaskList()
97
    {
98
        return $this->numberTaskList;
99
    }
100
101
    public function setNumberTaskList($numberTaskList)
102
    {
103
        $this->numberTaskList = $numberTaskList;
104
    }
105
}
106