Test Setup Failed
Push — master ( 0a7a66...5f7a13 )
by Vragov
03:02
created

EditUserRequest::getUserId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 4
Ratio 100 %

Importance

Changes 0
Metric Value
dl 4
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
namespace OmnideskBundle\Request\User;
3
4
use OmnideskBundle\Request\RequestInterface;
5
6
/**
7
 * Class EditUserRequest
8
 * @package OmnideskBundle\Request\User
9
 */
10 View Code Duplication
class EditUserRequest implements RequestInterface
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
11
{
12
    /**
13
     * @var int
14
     */
15
    private $userId;
16
17
    /**
18
     * @var string
19
     */
20
    private $email;
21
22
    /**
23
     * @var string
24
     */
25
    private $fullName;
26
27
    /**
28
     * @var string
29
     */
30
    private $companyName;
31
32
    /**
33
     * @var string
34
     */
35
    private $companyPosition;
36
37
    /**
38
     * @var string
39
     */
40
    private $note;
41
42
    /**
43
     * @var int
44
     */
45
    private $languageId;
46
47
    /**
48
     * @var array
49
     */
50
    private $customFields;
51
52
    /**
53
     * @return int
54
     */
55
    public function getUserId()
56
    {
57
        return $this->userId;
58
    }
59
60
    /**
61
     * @param int $userId
62
     * @return $this
63
     */
64
    public function setUserId($userId)
65
    {
66
        $this->userId = $userId;
67
68
        return $this;
69
    }
70
71
    /**
72
     * @return string
73
     */
74
    public function getEmail()
75
    {
76
        return $this->email;
77
    }
78
79
    /**
80
     * @param string $email
81
     * @return $this
82
     */
83
    public function setEmail($email)
84
    {
85
        $this->email = $email;
86
87
        return $this;
88
    }
89
90
    /**
91
     * @return string
92
     */
93
    public function getFullName()
94
    {
95
        return $this->fullName;
96
    }
97
98
    /**
99
     * @param string $fullName
100
     * @return $this
101
     */
102
    public function setFullName($fullName)
103
    {
104
        $this->fullName = $fullName;
105
106
        return $this;
107
    }
108
109
    /**
110
     * @return string
111
     */
112
    public function getCompanyName()
113
    {
114
        return $this->companyName;
115
    }
116
117
    /**
118
     * @param string $companyName
119
     * @return $this
120
     */
121
    public function setCompanyName($companyName)
122
    {
123
        $this->companyName = $companyName;
124
125
        return $this;
126
    }
127
128
    /**
129
     * @return string
130
     */
131
    public function getCompanyPosition()
132
    {
133
        return $this->companyPosition;
134
    }
135
136
    /**
137
     * @param string $companyPosition
138
     * @return $this
139
     */
140
    public function setCompanyPosition($companyPosition)
141
    {
142
        $this->companyPosition = $companyPosition;
143
144
        return $this;
145
    }
146
147
    /**
148
     * @return string
149
     */
150
    public function getNote()
151
    {
152
        return $this->note;
153
    }
154
155
    /**
156
     * @param string $note
157
     * @return $this
158
     */
159
    public function setNote($note)
160
    {
161
        $this->note = $note;
162
163
        return $this;
164
    }
165
166
    /**
167
     * @return int
168
     */
169
    public function getLanguageId()
170
    {
171
        return $this->languageId;
172
    }
173
174
    /**
175
     * @param int $languageId
176
     * @return $this
177
     */
178
    public function setLanguageId($languageId)
179
    {
180
        $this->languageId = $languageId;
181
182
        return $this;
183
    }
184
185
    /**
186
     * @return array
187
     */
188
    public function getCustomFields()
189
    {
190
        return $this->customFields;
191
    }
192
193
    /**
194
     * @param array $customFields
195
     * @return $this
196
     */
197
    public function setCustomFields($customFields)
198
    {
199
        $this->customFields = $customFields;
200
201
        return $this;
202
    }
203
}
204