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

Project::getIsDeleted()   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\InvoiceNinja;
4
5
/**
6
 * Class Project
7
 * @package Syncer\Dto\InvoiceNinja
8
 *
9
 * @author Clayton Liddell <[email protected]>
10
 */
11
class Project
12
{
13
    /**
14
     * @var integer
15
     */
16
    private $id;
17
18
    /**
19
     * @var string
20
     */
21
    private $name;
22
23
    /**
24
     * @var integer
25
     */
26
    private $clientId;
27
28
    /**
29
     * @var bool
30
     */
31
    private $isDeleted;
32
33
    /**
34
     * @return int
35
     */
36
    public function getId()
37
    {
38
        return $this->id;
39
    }
40
41
    /**
42
     * @param int $id
43
     */
44
    public function setId(int $id)
45
    {
46
        $this->id = $id;
47
    }
48
49
    /**
50
     * @return string
51
     */
52
    public function getName(): string
53
    {
54
        return $this->name;
55
    }
56
57
    /**
58
     * @param string $name
59
     */
60
    public function setName(string $name)
61
    {
62
        $this->name = $name;
63
    }
64
65
    /**
66
     * @return int
67
     */
68
    public function getClientId(): int
69
    {
70
        return $this->clientId;
71
    }
72
73
    /**
74
     * @param int $clientId
75
     */
76
    public function setClientId(int $clientId)
77
    {
78
        $this->clientId = $clientId;
79
    }
80
81
    /**
82
     * @return bool
83
     */
84
    public function getIsDeleted()
85
    {
86
        return $this->isDeleted;
87
    }
88
89
    /**
90
     * @param bool $isDeleted
91
     */
92
    public function setIsDeleted(bool $isDeleted)
93
    {
94
        $this->isDeleted = $isDeleted;
95
    }
96
}
97