EntityBoxItem   A
last analyzed

Complexity

Total Complexity 20

Size/Duplication

Total Lines 210
Duplicated Lines 0 %

Test Coverage

Coverage 40.82%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 31
c 1
b 0
f 0
dl 0
loc 210
ccs 20
cts 49
cp 0.4082
rs 10
wmc 20

20 Methods

Rating   Name   Duplication   Size   Complexity  
A getXPos() 0 3 1
A getHeight() 0 3 1
A getDescription() 0 3 1
A getWidth() 0 3 1
A setHeight() 0 3 1
A setDescription() 0 3 1
A setYPos() 0 3 1
A getArc() 0 3 1
A setThickness() 0 3 1
A setArc() 0 3 1
A setOrion() 0 3 1
A getPhantomField() 0 3 1
A setPhantomField() 0 3 1
A getYPos() 0 3 1
A getAnchorPoint() 0 3 1
A setWidth() 0 3 1
A getOrion() 0 3 1
A getThickness() 0 3 1
A setXPos() 0 3 1
A setAnchorPoint() 0 3 1
1
<?php
2
/**
3
 * This file is part of graze/unicontroller-client.
4
 *
5
 * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 *
10
 * @license https://github.com/graze/unicontroller-client/blob/master/LICENSE.md
11
 * @link https://github.com/graze/unicontroller-client
12
 */
13
namespace Graze\UnicontrollerClient\Entity\Entity;
14
15
use Graze\UnicontrollerClient\Entity\Entity\EntityInterface;
16
17
class EntityBoxItem implements EntityInterface
18
{
19
    /**
20
     * @var int
21
     */
22
    protected $anchorPoint;
23
24
    /**
25
     * @var int
26
     */
27
    protected $xPos;
28
29
    /**
30
     * @var int
31
     */
32
    protected $yPos;
33
34
    /**
35
     * @var int
36
     */
37
    protected $width;
38
39
    /**
40
     * @var int
41
     */
42
    protected $height;
43
44
    /**
45
     * @var int
46
     */
47
    protected $orion;
48
49
    /**
50
     * @var string
51
     */
52
    protected $description;
53
54
    /**
55
     * @var int
56
     */
57
    protected $thickness;
58
59
    /**
60
     * @var int
61
     */
62
    protected $arc;
63
64
    /**
65
     * @var int
66
     */
67
    protected $phantomField;
68
69
    /**
70
     * @return int
71
     */
72 1
    public function getAnchorPoint()
73
    {
74 1
        return $this->anchorPoint;
75
    }
76
77
    /**
78
     * @param int $anchorPoint
79
     */
80
    public function setAnchorPoint($anchorPoint)
81
    {
82
        $this->anchorPoint = $anchorPoint;
83
    }
84
85
    /**
86
     * @return int
87
     */
88 1
    public function getXPos()
89
    {
90 1
        return $this->xPos;
91
    }
92
93
    /**
94
     * @param int $xPos
95
     */
96
    public function setXPos($xPos)
97
    {
98
        $this->xPos = $xPos;
99
    }
100
101
    /**
102
     * @return int
103
     */
104 1
    public function getYPos()
105
    {
106 1
        return $this->yPos;
107
    }
108
109
    /**
110
     * @param int $yPos
111
     */
112
    public function setYPos($yPos)
113
    {
114
        $this->yPos = $yPos;
115
    }
116
117
    /**
118
     * @return int
119
     */
120 1
    public function getWidth()
121
    {
122 1
        return $this->width;
123
    }
124
125
    /**
126
     * @param int $width
127
     */
128
    public function setWidth($width)
129
    {
130
        $this->width = $width;
131
    }
132
133
    /**
134
     * @return int
135
     */
136 1
    public function getHeight()
137
    {
138 1
        return $this->height;
139
    }
140
141
    /**
142
     * @param int $height
143
     */
144
    public function setHeight($height)
145
    {
146
        $this->height = $height;
147
    }
148
149
    /**
150
     * @return int
151
     */
152 1
    public function getOrion()
153
    {
154 1
        return $this->orion;
155
    }
156
157
    /**
158
     * @param int $orion
159
     */
160
    public function setOrion($orion)
161
    {
162
        $this->orion = $orion;
163
    }
164
165
    /**
166
     * @return string
167
     */
168 1
    public function getDescription()
169
    {
170 1
        return $this->description;
171
    }
172
173
    /**
174
     * @param string $description
175
     */
176
    public function setDescription($description)
177
    {
178
        $this->description = $description;
179
    }
180
181
    /**
182
     * @return int
183
     */
184 1
    public function getThickness()
185
    {
186 1
        return $this->thickness;
187
    }
188
189
    /**
190
     * @param int $thickness
191
     */
192
    public function setThickness($thickness)
193
    {
194
        $this->thickness = $thickness;
195
    }
196
197
    /**
198
     * @return int
199
     */
200 1
    public function getArc()
201
    {
202 1
        return $this->arc;
203
    }
204
205
    /**
206
     * @param int $arc
207
     */
208
    public function setArc($arc)
209
    {
210
        $this->arc = $arc;
211
    }
212
213
    /**
214
     * @return int
215
     */
216 1
    public function getPhantomField()
217
    {
218 1
        return $this->phantomField;
219
    }
220
221
    /**
222
     * @param int $phantomField
223
     */
224
    public function setPhantomField($phantomField)
225
    {
226
        $this->phantomField = $phantomField;
227
    }
228
}
229