Passed
Push — master ( 727475...c2e18b )
by Igor
04:07
created

Lawyer::setUrl()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 5
ccs 3
cts 3
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace SomeWork\Minjust\Entity;
4
5
/**
6
 * @see \SomeWork\Minjust\Tests\Unit\Entity\LawyerTest
7
 */
8
class Lawyer
9
{
10
    /**
11
     * @var string
12
     */
13
    protected $fullName = '';
14
15
    /**
16
     * @var string
17
     */
18
    protected $registerNumber = '';
19
20
    /**
21
     * @var string
22
     */
23
    protected $certificateNumber = '';
24
25
    /**
26
     * @var string
27
     */
28
    protected $status = '';
29
30
    /**
31
     * @var string
32
     */
33
    protected $territorialSubject = '';
34
35
    /**
36
     * @var string
37
     */
38
    protected $url = '';
39
40
    /**
41
     * @return string
42
     */
43 1
    public function getUrl(): string
44
    {
45 1
        return $this->url;
46
    }
47
48
    /**
49
     * @param string $url
50
     *
51
     * @return static
52
     */
53 1
    public function setUrl(string $url): self
54
    {
55 1
        $this->url = $url;
56
57 1
        return $this;
58
    }
59
60
    /**
61
     * @return string
62
     */
63 1
    public function getFullName(): string
64
    {
65 1
        return $this->fullName;
66
    }
67
68
    /**
69
     * @param string $fullName
70
     *
71
     * @return static
72
     */
73 1
    public function setFullName(string $fullName): self
74
    {
75 1
        $this->fullName = $fullName;
76
77 1
        return $this;
78
    }
79
80
    /**
81
     * @return string
82
     */
83 1
    public function getRegisterNumber(): string
84
    {
85 1
        return $this->registerNumber;
86
    }
87
88
    /**
89
     * @param string $registerNumber
90
     *
91
     * @return static
92
     */
93 1
    public function setRegisterNumber(string $registerNumber): self
94
    {
95 1
        $this->registerNumber = $registerNumber;
96
97 1
        return $this;
98
    }
99
100
    /**
101
     * @return string
102
     */
103 1
    public function getCertificateNumber(): string
104
    {
105 1
        return $this->certificateNumber;
106
    }
107
108
    /**
109
     * @param string $certificateNumber
110
     *
111
     * @return static
112
     */
113 1
    public function setCertificateNumber(string $certificateNumber): self
114
    {
115 1
        $this->certificateNumber = $certificateNumber;
116
117 1
        return $this;
118
    }
119
120
    /**
121
     * @return string
122
     */
123 1
    public function getStatus(): string
124
    {
125 1
        return $this->status;
126
    }
127
128
    /**
129
     * @param string $status
130
     *
131
     * @return static
132
     */
133 1
    public function setStatus(string $status): self
134
    {
135 1
        $this->status = $status;
136
137 1
        return $this;
138
    }
139
140
    /**
141
     * @return string
142
     */
143 1
    public function getTerritorialSubject(): string
144
    {
145 1
        return $this->territorialSubject;
146
    }
147
148
    /**
149
     * @param string $territorialSubject
150
     *
151
     * @return static
152
     */
153 1
    public function setTerritorialSubject(string $territorialSubject): self
154
    {
155 1
        $this->territorialSubject = $territorialSubject;
156
157 1
        return $this;
158
    }
159
}
160