GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Image   A
last analyzed

Complexity

Total Complexity 26

Size/Duplication

Total Lines 315
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 26
lcom 0
cbo 1
dl 0
loc 315
ccs 0
cts 117
cp 0
rs 10
c 0
b 0
f 0

26 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A setId() 0 6 1
A getArticleId() 0 4 1
A setArticleId() 0 6 1
A getArticleDetailId() 0 4 1
A setArticleDetailId() 0 6 1
A getDescription() 0 4 1
A setDescription() 0 6 1
A getPath() 0 4 1
A setPath() 0 6 1
A getMain() 0 4 1
A setMain() 0 6 1
A getPosition() 0 4 1
A setPosition() 0 6 1
A getWidth() 0 4 1
A setWidth() 0 6 1
A getHeight() 0 4 1
A setHeight() 0 6 1
A getRelations() 0 4 1
A setRelations() 0 6 1
A getExtension() 0 4 1
A setExtension() 0 6 1
A getParentId() 0 4 1
A setParentId() 0 6 1
A getMediaId() 0 4 1
A setMediaId() 0 6 1
1
<?php
2
/**
3
 * LeadCommerce\Shopware\SDK\Entity
4
 *
5
 * Copyright 2016 LeadCommerce
6
 *
7
 * @author Alexander Mahrt <[email protected]>
8
 * @copyright 2016 LeadCommerce <[email protected]>
9
 */
10
namespace LeadCommerce\Shopware\SDK\Entity;
11
12
/**
13
 * Class Image
14
 */
15
class Image extends Base
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $id;
21
    /**
22
     * @var int
23
     */
24
    protected $articleId;
25
    /**
26
     * @var int
27
     */
28
    protected $articleDetailId;
29
    /**
30
     * @var string
31
     */
32
    protected $description;
33
    /**
34
     * @var string
35
     */
36
    protected $path;
37
    /**
38
     * @var int
39
     */
40
    protected $main;
41
    /**
42
     * @var int
43
     */
44
    protected $position;
45
    /**
46
     * @var int
47
     */
48
    protected $width;
49
    /**
50
     * @var int
51
     */
52
    protected $height;
53
    /**
54
     * @var string
55
     */
56
    protected $relations;
57
    /**
58
     * @var string
59
     */
60
    protected $extension;
61
    /**
62
     * @var int
63
     */
64
    protected $parentId;
65
    /**
66
     * @var int
67
     */
68
    protected $mediaId;
69
70
    /**
71
     * @return int
72
     */
73
    public function getId()
74
    {
75
        return $this->id;
76
    }
77
78
    /**
79
     * @param int $id
80
     *
81
     * @return Image
82
     */
83
    public function setId($id)
84
    {
85
        $this->id = $id;
86
87
        return $this;
88
    }
89
90
    /**
91
     * @return int
92
     */
93
    public function getArticleId()
94
    {
95
        return $this->articleId;
96
    }
97
98
    /**
99
     * @param int $articleId
100
     *
101
     * @return Image
102
     */
103
    public function setArticleId($articleId)
104
    {
105
        $this->articleId = $articleId;
106
107
        return $this;
108
    }
109
110
    /**
111
     * @return int
112
     */
113
    public function getArticleDetailId()
114
    {
115
        return $this->articleDetailId;
116
    }
117
118
    /**
119
     * @param int $articleDetailId
120
     *
121
     * @return Image
122
     */
123
    public function setArticleDetailId($articleDetailId)
124
    {
125
        $this->articleDetailId = $articleDetailId;
126
127
        return $this;
128
    }
129
130
    /**
131
     * @return string
132
     */
133
    public function getDescription()
134
    {
135
        return $this->description;
136
    }
137
138
    /**
139
     * @param string $description
140
     *
141
     * @return Image
142
     */
143
    public function setDescription($description)
144
    {
145
        $this->description = $description;
146
147
        return $this;
148
    }
149
150
    /**
151
     * @return string
152
     */
153
    public function getPath()
154
    {
155
        return $this->path;
156
    }
157
158
    /**
159
     * @param string $path
160
     *
161
     * @return Image
162
     */
163
    public function setPath($path)
164
    {
165
        $this->path = $path;
166
167
        return $this;
168
    }
169
170
    /**
171
     * @return int
172
     */
173
    public function getMain()
174
    {
175
        return $this->main;
176
    }
177
178
    /**
179
     * @param int $main
180
     *
181
     * @return Image
182
     */
183
    public function setMain($main)
184
    {
185
        $this->main = $main;
186
187
        return $this;
188
    }
189
190
    /**
191
     * @return int
192
     */
193
    public function getPosition()
194
    {
195
        return $this->position;
196
    }
197
198
    /**
199
     * @param int $position
200
     *
201
     * @return Image
202
     */
203
    public function setPosition($position)
204
    {
205
        $this->position = $position;
206
207
        return $this;
208
    }
209
210
    /**
211
     * @return int
212
     */
213
    public function getWidth()
214
    {
215
        return $this->width;
216
    }
217
218
    /**
219
     * @param int $width
220
     *
221
     * @return Image
222
     */
223
    public function setWidth($width)
224
    {
225
        $this->width = $width;
226
227
        return $this;
228
    }
229
230
    /**
231
     * @return int
232
     */
233
    public function getHeight()
234
    {
235
        return $this->height;
236
    }
237
238
    /**
239
     * @param int $height
240
     *
241
     * @return Image
242
     */
243
    public function setHeight($height)
244
    {
245
        $this->height = $height;
246
247
        return $this;
248
    }
249
250
    /**
251
     * @return string
252
     */
253
    public function getRelations()
254
    {
255
        return $this->relations;
256
    }
257
258
    /**
259
     * @param string $relations
260
     *
261
     * @return Image
262
     */
263
    public function setRelations($relations)
264
    {
265
        $this->relations = $relations;
266
267
        return $this;
268
    }
269
270
    /**
271
     * @return string
272
     */
273
    public function getExtension()
274
    {
275
        return $this->extension;
276
    }
277
278
    /**
279
     * @param string $extension
280
     *
281
     * @return Image
282
     */
283
    public function setExtension($extension)
284
    {
285
        $this->extension = $extension;
286
287
        return $this;
288
    }
289
290
    /**
291
     * @return int
292
     */
293
    public function getParentId()
294
    {
295
        return $this->parentId;
296
    }
297
298
    /**
299
     * @param int $parentId
300
     *
301
     * @return Image
302
     */
303
    public function setParentId($parentId)
304
    {
305
        $this->parentId = $parentId;
306
307
        return $this;
308
    }
309
310
    /**
311
     * @return int
312
     */
313
    public function getMediaId()
314
    {
315
        return $this->mediaId;
316
    }
317
318
    /**
319
     * @param int $mediaId
320
     *
321
     * @return Image
322
     */
323
    public function setMediaId($mediaId)
324
    {
325
        $this->mediaId = $mediaId;
326
327
        return $this;
328
    }
329
}
330