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

Client   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 66
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 6
lcom 0
cbo 0
dl 0
loc 66
rs 10
c 0
b 0
f 0

6 Methods

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