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.

Supplier::setImage()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 6
ccs 0
cts 5
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 2
1
<?php
2
/**
3
 * Neta\Shopware\SDK\Entity.
4
 *
5
 * Copyright 2016 LeadCommerce
6
 *
7
 * @author    Alexander Mahrt <[email protected]>
8
 * @copyright 2016 LeadCommerce <[email protected]>
9
 */
10
11
namespace Neta\Shopware\SDK\Entity;
12
13
/**
14
 * Class Supplier.
15
 */
16
class Supplier extends Base
17
{
18
    /**
19
     * @var int
20
     */
21
    protected $id;
22
    /**
23
     * @var string
24
     */
25
    protected $name;
26
    /**
27
     * @var string
28
     */
29
    protected $image;
30
    /**
31
     * @var string
32
     */
33
    protected $link;
34
    /**
35
     * @var string
36
     */
37
    protected $description;
38
    /**
39
     * @var string
40
     */
41
    protected $metaTitle;
42
    /**
43
     * @var string
44
     */
45
    protected $metaDescription;
46
    /**
47
     * @var string
48
     */
49
    protected $metaKeywords;
50
51
    /**
52
     * @return int
53
     */
54
    public function getId()
55
    {
56
        return $this->id;
57
    }
58
59
    /**
60
     * @param int $id
61
     *
62
     * @return Supplier
63
     */
64
    public function setId($id)
65
    {
66
        $this->id = $id;
67
68
        return $this;
69
    }
70
71
    /**
72
     * @return string
73
     */
74
    public function getName()
75
    {
76
        return $this->name;
77
    }
78
79
    /**
80
     * @param string $name
81
     *
82
     * @return Supplier
83
     */
84
    public function setName($name)
85
    {
86
        $this->name = $name;
87
88
        return $this;
89
    }
90
91
    /**
92
     * @return string
93
     */
94
    public function getImage()
95
    {
96
        return $this->image;
97
    }
98
99
    /**
100
     * @param string $image
101
     *
102
     * @return Supplier
103
     */
104
    public function setImage($image)
105
    {
106
        $this->image = $image;
107
108
        return $this;
109
    }
110
111
    /**
112
     * @return string
113
     */
114
    public function getLink()
115
    {
116
        return $this->link;
117
    }
118
119
    /**
120
     * @param string $link
121
     *
122
     * @return Supplier
123
     */
124
    public function setLink($link)
125
    {
126
        $this->link = $link;
127
128
        return $this;
129
    }
130
131
    /**
132
     * @return string
133
     */
134
    public function getDescription()
135
    {
136
        return $this->description;
137
    }
138
139
    /**
140
     * @param string $description
141
     *
142
     * @return Supplier
143
     */
144
    public function setDescription($description)
145
    {
146
        $this->description = $description;
147
148
        return $this;
149
    }
150
151
    /**
152
     * @return string
153
     */
154
    public function getMetaTitle()
155
    {
156
        return $this->metaTitle;
157
    }
158
159
    /**
160
     * @param string $metaTitle
161
     *
162
     * @return Supplier
163
     */
164
    public function setMetaTitle($metaTitle)
165
    {
166
        $this->metaTitle = $metaTitle;
167
168
        return $this;
169
    }
170
171
    /**
172
     * @return string
173
     */
174
    public function getMetaDescription()
175
    {
176
        return $this->metaDescription;
177
    }
178
179
    /**
180
     * @param string $metaDescription
181
     *
182
     * @return Supplier
183
     */
184
    public function setMetaDescription($metaDescription)
185
    {
186
        $this->metaDescription = $metaDescription;
187
188
        return $this;
189
    }
190
191
    /**
192
     * @return string
193
     */
194
    public function getMetaKeywords()
195
    {
196
        return $this->metaKeywords;
197
    }
198
199
    /**
200
     * @param string $metaKeywords
201
     *
202
     * @return Supplier
203
     */
204
    public function setMetaKeywords($metaKeywords)
205
    {
206
        $this->metaKeywords = $metaKeywords;
207
208
        return $this;
209
    }
210
}
211