Passed
Pull Request — master (#4)
by
unknown
01:45
created

Project::getCid()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php declare(strict_types=1);
2
3
namespace Syncer\Dto\Toggl;
4
5
/**
6
 * Class Project
7
 * @package Syncer\Dto\Toggl
8
 *
9
 * @author Clayton Liddell <[email protected]>
10
 */
11
class Project
12
{
13
    /**
14
     * @var integer
15
     */
16
    private $id;
17
18
    /**
19
     * @var integer
20
     */
21
    private $cid;
22
23
    /**
24
     * @var String
25
     */
26
    private $name;
27
28
    /**
29
     * @return mixed
30
     */
31
    public function getId(): int
32
    {
33
        return $this->id;
34
    }
35
36
    /**
37
     * @param mixed $id
38
     */
39
    public function setId(int $id)
40
    {
41
        $this->id = $id;
42
    }
43
44
    /**
45
     * @return mixed
46
     */
47
    public function getCid(): int
48
    {
49
        return $this->cid;
50
    }
51
52
    /**
53
     * @param mixed $cid
54
     */
55
    public function setCid(int $cid)
56
    {
57
        $this->cid = $cid;
58
    }
59
60
    /**
61
     * @return mixed
62
     */
63
    public function getName(): String
64
    {
65
        return $this->name;
66
    }
67
68
    /**
69
     * @param mixed $name
70
     */
71
    public function setName(String $name)
72
    {
73
        $this->name = $name;
74
    }
75
}
76