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.
Passed
Pull Request — master (#59)
by
unknown
02:14
created
src/Options/Scales/ScaleLabel.php 1 patch
Indentation   +159 added lines, -159 removed lines patch added patch discarded remove patch
@@ -12,163 +12,163 @@
 block discarded – undo
12 12
  */
13 13
 class ScaleLabel implements ArraySerializableInterface, \JsonSerializable
14 14
 {
15
-    use ArraySerializable;
16
-
17
-    /**
18
-     * @var bool
19
-     */
20
-    private $display;
21
-
22
-    /**
23
-     * @var string
24
-     */
25
-    private $labelString;
26
-
27
-    /**
28
-     * @var string
29
-     */
30
-    private $fontColor;
31
-
32
-    /**
33
-     * @var string
34
-     */
35
-    private $fontFamily;
36
-
37
-    /**
38
-     * @var int
39
-     */
40
-    private $fontSize;
41
-
42
-    /**
43
-     * @var string
44
-     */
45
-    private $fontStyle;
46
-
47
-    /**
48
-     * @return bool
49
-     */
50
-    public function isDisplay()
51
-    {
52
-        return $this->display;
53
-    }
54
-
55
-    /**
56
-     * @param bool $display
57
-     *
58
-     * @return $this
59
-     */
60
-    public function setDisplay($display)
61
-    {
62
-        $this->display = ! ! $display;
63
-
64
-        return $this;
65
-    }
66
-
67
-    /**
68
-     * @return string
69
-     */
70
-    public function getLabelString()
71
-    {
72
-        return $this->labelString;
73
-    }
74
-
75
-    /**
76
-     * @param string $labelString
77
-     *
78
-     * @return $this
79
-     */
80
-    public function setLabelString($labelString)
81
-    {
82
-        $this->labelString = strval($labelString);
83
-
84
-        return $this;
85
-    }
86
-
87
-    /**
88
-     * @return string
89
-     */
90
-    public function getFontColor()
91
-    {
92
-        return $this->fontColor;
93
-    }
94
-
95
-    /**
96
-     * @param string $fontColor
97
-     *
98
-     * @return $this
99
-     */
100
-    public function setFontColor($fontColor)
101
-    {
102
-        $this->fontColor = strval($fontColor);
103
-
104
-        return $this;
105
-    }
106
-
107
-    /**
108
-     * @return string
109
-     */
110
-    public function getFontFamily()
111
-    {
112
-        return $this->fontFamily;
113
-    }
114
-
115
-    /**
116
-     * @param string $fontFamily
117
-     *
118
-     * @return $this
119
-     */
120
-    public function setFontFamily($fontFamily)
121
-    {
122
-        $this->fontFamily = strval($fontFamily);
123
-
124
-        return $this;
125
-    }
126
-
127
-    /**
128
-     * @return int
129
-     */
130
-    public function getFontSize()
131
-    {
132
-        return $this->fontSize;
133
-    }
134
-
135
-    /**
136
-     * @param int $fontSize
137
-     *
138
-     * @return $this
139
-     */
140
-    public function setFontSize($fontSize)
141
-    {
142
-        $this->fontSize = intval($fontSize);
143
-
144
-        return $this;
145
-    }
146
-
147
-    /**
148
-     * @return string
149
-     */
150
-    public function getFontStyle()
151
-    {
152
-        return $this->fontStyle;
153
-    }
154
-
155
-    /**
156
-     * @param string $fontStyle
157
-     *
158
-     * @return $this
159
-     */
160
-    public function setFontStyle($fontStyle)
161
-    {
162
-        $this->fontStyle = strval($fontStyle);
163
-
164
-        return $this;
165
-    }
166
-
167
-    /**
168
-     * @return string
169
-     */
170
-    public function jsonSerialize()
171
-    {
172
-        return Json::encode($this->getArrayCopy());
173
-    }
15
+	use ArraySerializable;
16
+
17
+	/**
18
+	 * @var bool
19
+	 */
20
+	private $display;
21
+
22
+	/**
23
+	 * @var string
24
+	 */
25
+	private $labelString;
26
+
27
+	/**
28
+	 * @var string
29
+	 */
30
+	private $fontColor;
31
+
32
+	/**
33
+	 * @var string
34
+	 */
35
+	private $fontFamily;
36
+
37
+	/**
38
+	 * @var int
39
+	 */
40
+	private $fontSize;
41
+
42
+	/**
43
+	 * @var string
44
+	 */
45
+	private $fontStyle;
46
+
47
+	/**
48
+	 * @return bool
49
+	 */
50
+	public function isDisplay()
51
+	{
52
+		return $this->display;
53
+	}
54
+
55
+	/**
56
+	 * @param bool $display
57
+	 *
58
+	 * @return $this
59
+	 */
60
+	public function setDisplay($display)
61
+	{
62
+		$this->display = ! ! $display;
63
+
64
+		return $this;
65
+	}
66
+
67
+	/**
68
+	 * @return string
69
+	 */
70
+	public function getLabelString()
71
+	{
72
+		return $this->labelString;
73
+	}
74
+
75
+	/**
76
+	 * @param string $labelString
77
+	 *
78
+	 * @return $this
79
+	 */
80
+	public function setLabelString($labelString)
81
+	{
82
+		$this->labelString = strval($labelString);
83
+
84
+		return $this;
85
+	}
86
+
87
+	/**
88
+	 * @return string
89
+	 */
90
+	public function getFontColor()
91
+	{
92
+		return $this->fontColor;
93
+	}
94
+
95
+	/**
96
+	 * @param string $fontColor
97
+	 *
98
+	 * @return $this
99
+	 */
100
+	public function setFontColor($fontColor)
101
+	{
102
+		$this->fontColor = strval($fontColor);
103
+
104
+		return $this;
105
+	}
106
+
107
+	/**
108
+	 * @return string
109
+	 */
110
+	public function getFontFamily()
111
+	{
112
+		return $this->fontFamily;
113
+	}
114
+
115
+	/**
116
+	 * @param string $fontFamily
117
+	 *
118
+	 * @return $this
119
+	 */
120
+	public function setFontFamily($fontFamily)
121
+	{
122
+		$this->fontFamily = strval($fontFamily);
123
+
124
+		return $this;
125
+	}
126
+
127
+	/**
128
+	 * @return int
129
+	 */
130
+	public function getFontSize()
131
+	{
132
+		return $this->fontSize;
133
+	}
134
+
135
+	/**
136
+	 * @param int $fontSize
137
+	 *
138
+	 * @return $this
139
+	 */
140
+	public function setFontSize($fontSize)
141
+	{
142
+		$this->fontSize = intval($fontSize);
143
+
144
+		return $this;
145
+	}
146
+
147
+	/**
148
+	 * @return string
149
+	 */
150
+	public function getFontStyle()
151
+	{
152
+		return $this->fontStyle;
153
+	}
154
+
155
+	/**
156
+	 * @param string $fontStyle
157
+	 *
158
+	 * @return $this
159
+	 */
160
+	public function setFontStyle($fontStyle)
161
+	{
162
+		$this->fontStyle = strval($fontStyle);
163
+
164
+		return $this;
165
+	}
166
+
167
+	/**
168
+	 * @return string
169
+	 */
170
+	public function jsonSerialize()
171
+	{
172
+		return Json::encode($this->getArrayCopy());
173
+	}
174 174
 }
Please login to merge, or discard this patch.
src/Options/Hover.php 1 patch
Indentation   +109 added lines, -109 removed lines patch added patch discarded remove patch
@@ -13,113 +13,113 @@
 block discarded – undo
13 13
  */
14 14
 class Hover implements ArraySerializableInterface, \JsonSerializable
15 15
 {
16
-    use ArraySerializable;
17
-
18
-    /**
19
-     * @var string
20
-     */
21
-    private $mode;
22
-
23
-    /**
24
-     * @var bool
25
-     */
26
-    private $intersect;
27
-
28
-    /**
29
-     * @var int
30
-     */
31
-    private $animationDuration;
32
-
33
-    /**
34
-     * @var Expr
35
-     */
36
-    private $onHover;
37
-
38
-    /**
39
-     * @return string
40
-     */
41
-    public function getMode()
42
-    {
43
-        return $this->mode;
44
-    }
45
-
46
-    /**
47
-     * @param string $mode
48
-     *
49
-     * @return $this
50
-     */
51
-    public function setMode($mode)
52
-    {
53
-        $this->mode = strval($mode);
54
-
55
-        return $this;
56
-    }
57
-
58
-    /**
59
-     * @return bool
60
-     */
61
-    public function isIntersect()
62
-    {
63
-        return $this->intersect;
64
-    }
65
-
66
-    /**
67
-     * @param bool $intersect
68
-     *
69
-     * @return $this
70
-     */
71
-    public function setIntersect($intersect)
72
-    {
73
-        $this->intersect = ! ! $intersect;
74
-
75
-        return $this;
76
-    }
77
-
78
-    /**
79
-     * @return int
80
-     */
81
-    public function getAnimationDuration()
82
-    {
83
-        return $this->animationDuration;
84
-    }
85
-
86
-    /**
87
-     * @param int $animationDuration
88
-     *
89
-     * @return $this
90
-     */
91
-    public function setAnimationDuration($animationDuration)
92
-    {
93
-        $this->animationDuration = intval($animationDuration);
94
-
95
-        return $this;
96
-    }
97
-
98
-    /**
99
-     * @return \Zend\Json\Expr
100
-     */
101
-    public function getOnHover()
102
-    {
103
-        return $this->onHover;
104
-    }
105
-
106
-    /**
107
-     * @param Expr $onHover
108
-     *
109
-     * @return $this
110
-     */
111
-    public function setOnHover($onHover)
112
-    {
113
-        $this->onHover = new Expr(strval($onHover));
114
-
115
-        return $this;
116
-    }
117
-
118
-    /**
119
-     * @return string
120
-     */
121
-    public function jsonSerialize()
122
-    {
123
-        return Json::encode($this->getArrayCopy());
124
-    }
16
+	use ArraySerializable;
17
+
18
+	/**
19
+	 * @var string
20
+	 */
21
+	private $mode;
22
+
23
+	/**
24
+	 * @var bool
25
+	 */
26
+	private $intersect;
27
+
28
+	/**
29
+	 * @var int
30
+	 */
31
+	private $animationDuration;
32
+
33
+	/**
34
+	 * @var Expr
35
+	 */
36
+	private $onHover;
37
+
38
+	/**
39
+	 * @return string
40
+	 */
41
+	public function getMode()
42
+	{
43
+		return $this->mode;
44
+	}
45
+
46
+	/**
47
+	 * @param string $mode
48
+	 *
49
+	 * @return $this
50
+	 */
51
+	public function setMode($mode)
52
+	{
53
+		$this->mode = strval($mode);
54
+
55
+		return $this;
56
+	}
57
+
58
+	/**
59
+	 * @return bool
60
+	 */
61
+	public function isIntersect()
62
+	{
63
+		return $this->intersect;
64
+	}
65
+
66
+	/**
67
+	 * @param bool $intersect
68
+	 *
69
+	 * @return $this
70
+	 */
71
+	public function setIntersect($intersect)
72
+	{
73
+		$this->intersect = ! ! $intersect;
74
+
75
+		return $this;
76
+	}
77
+
78
+	/**
79
+	 * @return int
80
+	 */
81
+	public function getAnimationDuration()
82
+	{
83
+		return $this->animationDuration;
84
+	}
85
+
86
+	/**
87
+	 * @param int $animationDuration
88
+	 *
89
+	 * @return $this
90
+	 */
91
+	public function setAnimationDuration($animationDuration)
92
+	{
93
+		$this->animationDuration = intval($animationDuration);
94
+
95
+		return $this;
96
+	}
97
+
98
+	/**
99
+	 * @return \Zend\Json\Expr
100
+	 */
101
+	public function getOnHover()
102
+	{
103
+		return $this->onHover;
104
+	}
105
+
106
+	/**
107
+	 * @param Expr $onHover
108
+	 *
109
+	 * @return $this
110
+	 */
111
+	public function setOnHover($onHover)
112
+	{
113
+		$this->onHover = new Expr(strval($onHover));
114
+
115
+		return $this;
116
+	}
117
+
118
+	/**
119
+	 * @return string
120
+	 */
121
+	public function jsonSerialize()
122
+	{
123
+		return Json::encode($this->getArrayCopy());
124
+	}
125 125
 }
Please login to merge, or discard this patch.
src/Options/Scale.php 1 patch
Indentation   +584 added lines, -584 removed lines patch added patch discarded remove patch
@@ -15,588 +15,588 @@
 block discarded – undo
15 15
  */
16 16
 abstract class Scale implements ArraySerializableInterface, \JsonSerializable
17 17
 {
18
-    use ArraySerializable;
19
-
20
-    /**
21
-     * @var string
22
-     */
23
-    protected $type;
24
-
25
-    /**
26
-     * @var bool
27
-     */
28
-    protected $display;
29
-
30
-    /**
31
-     * @var string
32
-     */
33
-    protected $id;
34
-
35
-    /**
36
-     * @var bool
37
-     */
38
-    protected $stacked;
39
-
40
-    /**
41
-     * @var int
42
-     */
43
-    protected $barThickness;
44
-
45
-    /**
46
-     * @var string
47
-     */
48
-    protected $position;
49
-
50
-    /**
51
-     * @var string
52
-     */
53
-    protected $beforeUpdate;
54
-
55
-    /**
56
-     * @var string
57
-     */
58
-    protected $beforeSetDimensions;
59
-
60
-    /**
61
-     * @var string
62
-     */
63
-    protected $afterSetDimensions;
64
-
65
-    /**
66
-     * @var string
67
-     */
68
-    protected $beforeDataLimits;
69
-
70
-    /**
71
-     * @var string
72
-     */
73
-    protected $afterDataLimits;
74
-
75
-    /**
76
-     * @var string
77
-     */
78
-    protected $beforeBuildTicks;
79
-
80
-    /**
81
-     * @var string
82
-     */
83
-    protected $afterBuildTicks;
84
-
85
-    /**
86
-     * @var string
87
-     */
88
-    protected $beforeTickToLabelConversion;
89
-
90
-    /**
91
-     * @var string
92
-     */
93
-    protected $afterTickToLabelConversion;
94
-
95
-    /**
96
-     * @var string
97
-     */
98
-    protected $beforeCalculateTickRotation;
99
-
100
-    /**
101
-     * @var string
102
-     */
103
-    protected $afterCalculateTickRotation;
104
-
105
-    /**
106
-     * @var string
107
-     */
108
-    protected $beforeFit;
109
-
110
-    /**
111
-     * @var string
112
-     */
113
-    protected $afterFit;
114
-
115
-    /**
116
-     * @var string
117
-     */
118
-    protected $afterUpdate;
119
-
120
-    /**
121
-     * @var GridLines
122
-     */
123
-    protected $gridLines;
124
-
125
-    /**
126
-     * @var ScaleLabel
127
-     */
128
-    protected $scaleLabel;
129
-
130
-    /**
131
-     * @var Ticks
132
-     */
133
-    protected $ticks;
134
-
135
-    /**
136
-     * @return string
137
-     */
138
-    public function getType()
139
-    {
140
-        return $this->type;
141
-    }
142
-
143
-    /**
144
-     * @param string $type
145
-     *
146
-     * @return $this
147
-     */
148
-    public function setType($type)
149
-    {
150
-        $this->type = $type;
151
-
152
-        return $this;
153
-    }
154
-
155
-    /**
156
-     * @return bool
157
-     */
158
-    public function isDisplay()
159
-    {
160
-        return $this->display;
161
-    }
162
-
163
-    /**
164
-     * @param bool $display
165
-     *
166
-     * @return $this
167
-     */
168
-    public function setDisplay($display)
169
-    {
170
-        $this->display = $display;
171
-
172
-        return $this;
173
-    }
174
-
175
-    /**
176
-     * @return string
177
-     */
178
-    public function getId()
179
-    {
180
-        return $this->id;
181
-    }
182
-
183
-    /**
184
-     * @param string $id
185
-     *
186
-     * @return $this
187
-     */
188
-    public function setId($id)
189
-    {
190
-        $this->id = strval($id);
191
-
192
-        return $this;
193
-    }
194
-
195
-    /**
196
-     * @return bool
197
-     */
198
-    public function isStacked()
199
-    {
200
-        return $this->stacked;
201
-    }
202
-
203
-    /**
204
-     * @param bool $stacked
205
-     *
206
-     * @return $this
207
-     */
208
-    public function setStacked($stacked)
209
-    {
210
-        $this->stacked = ! ! $stacked;
211
-
212
-        return $this;
213
-    }
214
-
215
-    /**
216
-     * @return int
217
-     */
218
-    public function getBarThickness()
219
-    {
220
-        return $this->barThickness;
221
-    }
222
-
223
-    /**
224
-     * @param int $barThickness
225
-     *
226
-     * @return $this
227
-     */
228
-    public function setBarThickness($barThickness)
229
-    {
230
-        $this->barThickness = intval($barThickness);
231
-
232
-        return $this;
233
-    }
234
-
235
-    /**
236
-     * @return string
237
-     */
238
-    public function getPosition()
239
-    {
240
-        return $this->position;
241
-    }
242
-
243
-    /**
244
-     * @param string $position
245
-     *
246
-     * @return $this
247
-     */
248
-    public function setPosition($position)
249
-    {
250
-        $this->position = strval($position);
251
-
252
-        return $this;
253
-    }
254
-
255
-    /**
256
-     * @return string
257
-     */
258
-    public function getBeforeUpdate()
259
-    {
260
-        return $this->beforeUpdate;
261
-    }
262
-
263
-    /**
264
-     * @param string $beforeUpdate
265
-     *
266
-     * @return $this
267
-     */
268
-    public function setBeforeUpdate($beforeUpdate)
269
-    {
270
-        $this->beforeUpdate = strval($beforeUpdate);
271
-
272
-        return $this;
273
-    }
274
-
275
-    /**
276
-     * @return string
277
-     */
278
-    public function getBeforeSetDimensions()
279
-    {
280
-        return $this->beforeSetDimensions;
281
-    }
282
-
283
-    /**
284
-     * @param string $beforeSetDimensions
285
-     *
286
-     * @return $this
287
-     */
288
-    public function setBeforeSetDimensions($beforeSetDimensions)
289
-    {
290
-        $this->beforeSetDimensions = strval($beforeSetDimensions);
291
-
292
-        return $this;
293
-    }
294
-
295
-    /**
296
-     * @return string
297
-     */
298
-    public function getAfterSetDimensions()
299
-    {
300
-        return $this->afterSetDimensions;
301
-    }
302
-
303
-    /**
304
-     * @param string $afterSetDimensions
305
-     *
306
-     * @return $this
307
-     */
308
-    public function setAfterSetDimensions($afterSetDimensions)
309
-    {
310
-        $this->afterSetDimensions = strval($afterSetDimensions);
311
-
312
-        return $this;
313
-    }
314
-
315
-    /**
316
-     * @return string
317
-     */
318
-    public function getBeforeDataLimits()
319
-    {
320
-        return $this->beforeDataLimits;
321
-    }
322
-
323
-    /**
324
-     * @param string $beforeDataLimits
325
-     *
326
-     * @return $this
327
-     */
328
-    public function setBeforeDataLimits($beforeDataLimits)
329
-    {
330
-        $this->beforeDataLimits = strval($beforeDataLimits);
331
-
332
-        return $this;
333
-    }
334
-
335
-    /**
336
-     * @return string
337
-     */
338
-    public function getAfterDataLimits()
339
-    {
340
-        return $this->afterDataLimits;
341
-    }
342
-
343
-    /**
344
-     * @param string $afterDataLimits
345
-     *
346
-     * @return $this
347
-     */
348
-    public function setAfterDataLimits($afterDataLimits)
349
-    {
350
-        $this->afterDataLimits = strval($afterDataLimits);
351
-
352
-        return $this;
353
-    }
354
-
355
-    /**
356
-     * @return string
357
-     */
358
-    public function getBeforeBuildTicks()
359
-    {
360
-        return $this->beforeBuildTicks;
361
-    }
362
-
363
-    /**
364
-     * @param string $beforeBuildTicks
365
-     *
366
-     * @return $this
367
-     */
368
-    public function setBeforeBuildTicks($beforeBuildTicks)
369
-    {
370
-        $this->beforeBuildTicks = strval($beforeBuildTicks);
371
-
372
-        return $this;
373
-    }
374
-
375
-    /**
376
-     * @return string
377
-     */
378
-    public function getAfterBuildTicks()
379
-    {
380
-        return $this->afterBuildTicks;
381
-    }
382
-
383
-    /**
384
-     * @param string $afterBuildTicks
385
-     *
386
-     * @return $this
387
-     */
388
-    public function setAfterBuildTicks($afterBuildTicks)
389
-    {
390
-        $this->afterBuildTicks = strval($afterBuildTicks);
391
-
392
-        return $this;
393
-    }
394
-
395
-    /**
396
-     * @return string
397
-     */
398
-    public function getBeforeTickToLabelConversion()
399
-    {
400
-        return $this->beforeTickToLabelConversion;
401
-    }
402
-
403
-    /**
404
-     * @param string $beforeTickToLabelConversion
405
-     *
406
-     * @return $this
407
-     */
408
-    public function setBeforeTickToLabelConversion($beforeTickToLabelConversion)
409
-    {
410
-        $this->beforeTickToLabelConversion = strval($beforeTickToLabelConversion);
411
-
412
-        return $this;
413
-    }
414
-
415
-    /**
416
-     * @return string
417
-     */
418
-    public function getAfterTickToLabelConversion()
419
-    {
420
-        return $this->afterTickToLabelConversion;
421
-    }
422
-
423
-    /**
424
-     * @param string $afterTickToLabelConversion
425
-     *
426
-     * @return $this
427
-     */
428
-    public function setAfterTickToLabelConversion($afterTickToLabelConversion)
429
-    {
430
-        $this->afterTickToLabelConversion = strval($afterTickToLabelConversion);
431
-
432
-        return $this;
433
-    }
434
-
435
-    /**
436
-     * @return string
437
-     */
438
-    public function getBeforeCalculateTickRotation()
439
-    {
440
-        return $this->beforeCalculateTickRotation;
441
-    }
442
-
443
-    /**
444
-     * @param string $beforeCalculateTickRotation
445
-     *
446
-     * @return $this
447
-     */
448
-    public function setBeforeCalculateTickRotation($beforeCalculateTickRotation)
449
-    {
450
-        $this->beforeCalculateTickRotation = strval($beforeCalculateTickRotation);
451
-
452
-        return $this;
453
-    }
454
-
455
-    /**
456
-     * @return string
457
-     */
458
-    public function getAfterCalculateTickRotation()
459
-    {
460
-        return $this->afterCalculateTickRotation;
461
-    }
462
-
463
-    /**
464
-     * @param string $afterCalculateTickRotation
465
-     *
466
-     * @return $this
467
-     */
468
-    public function setAfterCalculateTickRotation($afterCalculateTickRotation)
469
-    {
470
-        $this->afterCalculateTickRotation = strval($afterCalculateTickRotation);
471
-
472
-        return $this;
473
-    }
474
-
475
-    /**
476
-     * @return string
477
-     */
478
-    public function getBeforeFit()
479
-    {
480
-        return $this->beforeFit;
481
-    }
482
-
483
-    /**
484
-     * @param string $beforeFit
485
-     *
486
-     * @return $this
487
-     */
488
-    public function setBeforeFit($beforeFit)
489
-    {
490
-        $this->beforeFit = strval($beforeFit);
491
-
492
-        return $this;
493
-    }
494
-
495
-    /**
496
-     * @return string
497
-     */
498
-    public function getAfterFit()
499
-    {
500
-        return $this->afterFit;
501
-    }
502
-
503
-    /**
504
-     * @param string $afterFit
505
-     *
506
-     * @return $this
507
-     */
508
-    public function setAfterFit($afterFit)
509
-    {
510
-        $this->afterFit = strval($afterFit);
511
-
512
-        return $this;
513
-    }
514
-
515
-    /**
516
-     * @return string
517
-     */
518
-    public function getAfterUpdate()
519
-    {
520
-        return $this->afterUpdate;
521
-    }
522
-
523
-    /**
524
-     * @param string $afterUpdate
525
-     *
526
-     * @return $this
527
-     */
528
-    public function setAfterUpdate($afterUpdate)
529
-    {
530
-        $this->afterUpdate = strval($afterUpdate);
531
-
532
-        return $this;
533
-    }
534
-
535
-    /**
536
-     * @return GridLines
537
-     */
538
-    public function getGridLines()
539
-    {
540
-        return $this->gridLines;
541
-    }
542
-
543
-    /**
544
-     * @return GridLines
545
-     */
546
-    public function gridLines()
547
-    {
548
-        if (is_null($this->gridLines)) {
549
-            $this->gridLines = new GridLines();
550
-        }
551
-
552
-        return $this->gridLines;
553
-    }
554
-
555
-    /**
556
-     * @return ScaleLabel
557
-     */
558
-    public function getScaleLabel()
559
-    {
560
-        return $this->scaleLabel;
561
-    }
562
-
563
-    /**
564
-     * @return ScaleLabel
565
-     */
566
-    public function scaleLabel()
567
-    {
568
-        if (is_null($this->scaleLabel)) {
569
-            $this->scaleLabel = new ScaleLabel();
570
-        }
571
-
572
-        return $this->scaleLabel;
573
-    }
574
-
575
-    /**
576
-     * @return Ticks
577
-     */
578
-    public function getTicks()
579
-    {
580
-        return $this->ticks;
581
-    }
582
-
583
-    /**
584
-     * @return Ticks
585
-     */
586
-    public function ticks()
587
-    {
588
-        if (is_null($this->ticks)) {
589
-            $this->ticks = new Ticks();
590
-        }
591
-
592
-        return $this->ticks;
593
-    }
594
-
595
-    /**
596
-     * @return string
597
-     */
598
-    public function jsonSerialize()
599
-    {
600
-        return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]);
601
-    }
18
+	use ArraySerializable;
19
+
20
+	/**
21
+	 * @var string
22
+	 */
23
+	protected $type;
24
+
25
+	/**
26
+	 * @var bool
27
+	 */
28
+	protected $display;
29
+
30
+	/**
31
+	 * @var string
32
+	 */
33
+	protected $id;
34
+
35
+	/**
36
+	 * @var bool
37
+	 */
38
+	protected $stacked;
39
+
40
+	/**
41
+	 * @var int
42
+	 */
43
+	protected $barThickness;
44
+
45
+	/**
46
+	 * @var string
47
+	 */
48
+	protected $position;
49
+
50
+	/**
51
+	 * @var string
52
+	 */
53
+	protected $beforeUpdate;
54
+
55
+	/**
56
+	 * @var string
57
+	 */
58
+	protected $beforeSetDimensions;
59
+
60
+	/**
61
+	 * @var string
62
+	 */
63
+	protected $afterSetDimensions;
64
+
65
+	/**
66
+	 * @var string
67
+	 */
68
+	protected $beforeDataLimits;
69
+
70
+	/**
71
+	 * @var string
72
+	 */
73
+	protected $afterDataLimits;
74
+
75
+	/**
76
+	 * @var string
77
+	 */
78
+	protected $beforeBuildTicks;
79
+
80
+	/**
81
+	 * @var string
82
+	 */
83
+	protected $afterBuildTicks;
84
+
85
+	/**
86
+	 * @var string
87
+	 */
88
+	protected $beforeTickToLabelConversion;
89
+
90
+	/**
91
+	 * @var string
92
+	 */
93
+	protected $afterTickToLabelConversion;
94
+
95
+	/**
96
+	 * @var string
97
+	 */
98
+	protected $beforeCalculateTickRotation;
99
+
100
+	/**
101
+	 * @var string
102
+	 */
103
+	protected $afterCalculateTickRotation;
104
+
105
+	/**
106
+	 * @var string
107
+	 */
108
+	protected $beforeFit;
109
+
110
+	/**
111
+	 * @var string
112
+	 */
113
+	protected $afterFit;
114
+
115
+	/**
116
+	 * @var string
117
+	 */
118
+	protected $afterUpdate;
119
+
120
+	/**
121
+	 * @var GridLines
122
+	 */
123
+	protected $gridLines;
124
+
125
+	/**
126
+	 * @var ScaleLabel
127
+	 */
128
+	protected $scaleLabel;
129
+
130
+	/**
131
+	 * @var Ticks
132
+	 */
133
+	protected $ticks;
134
+
135
+	/**
136
+	 * @return string
137
+	 */
138
+	public function getType()
139
+	{
140
+		return $this->type;
141
+	}
142
+
143
+	/**
144
+	 * @param string $type
145
+	 *
146
+	 * @return $this
147
+	 */
148
+	public function setType($type)
149
+	{
150
+		$this->type = $type;
151
+
152
+		return $this;
153
+	}
154
+
155
+	/**
156
+	 * @return bool
157
+	 */
158
+	public function isDisplay()
159
+	{
160
+		return $this->display;
161
+	}
162
+
163
+	/**
164
+	 * @param bool $display
165
+	 *
166
+	 * @return $this
167
+	 */
168
+	public function setDisplay($display)
169
+	{
170
+		$this->display = $display;
171
+
172
+		return $this;
173
+	}
174
+
175
+	/**
176
+	 * @return string
177
+	 */
178
+	public function getId()
179
+	{
180
+		return $this->id;
181
+	}
182
+
183
+	/**
184
+	 * @param string $id
185
+	 *
186
+	 * @return $this
187
+	 */
188
+	public function setId($id)
189
+	{
190
+		$this->id = strval($id);
191
+
192
+		return $this;
193
+	}
194
+
195
+	/**
196
+	 * @return bool
197
+	 */
198
+	public function isStacked()
199
+	{
200
+		return $this->stacked;
201
+	}
202
+
203
+	/**
204
+	 * @param bool $stacked
205
+	 *
206
+	 * @return $this
207
+	 */
208
+	public function setStacked($stacked)
209
+	{
210
+		$this->stacked = ! ! $stacked;
211
+
212
+		return $this;
213
+	}
214
+
215
+	/**
216
+	 * @return int
217
+	 */
218
+	public function getBarThickness()
219
+	{
220
+		return $this->barThickness;
221
+	}
222
+
223
+	/**
224
+	 * @param int $barThickness
225
+	 *
226
+	 * @return $this
227
+	 */
228
+	public function setBarThickness($barThickness)
229
+	{
230
+		$this->barThickness = intval($barThickness);
231
+
232
+		return $this;
233
+	}
234
+
235
+	/**
236
+	 * @return string
237
+	 */
238
+	public function getPosition()
239
+	{
240
+		return $this->position;
241
+	}
242
+
243
+	/**
244
+	 * @param string $position
245
+	 *
246
+	 * @return $this
247
+	 */
248
+	public function setPosition($position)
249
+	{
250
+		$this->position = strval($position);
251
+
252
+		return $this;
253
+	}
254
+
255
+	/**
256
+	 * @return string
257
+	 */
258
+	public function getBeforeUpdate()
259
+	{
260
+		return $this->beforeUpdate;
261
+	}
262
+
263
+	/**
264
+	 * @param string $beforeUpdate
265
+	 *
266
+	 * @return $this
267
+	 */
268
+	public function setBeforeUpdate($beforeUpdate)
269
+	{
270
+		$this->beforeUpdate = strval($beforeUpdate);
271
+
272
+		return $this;
273
+	}
274
+
275
+	/**
276
+	 * @return string
277
+	 */
278
+	public function getBeforeSetDimensions()
279
+	{
280
+		return $this->beforeSetDimensions;
281
+	}
282
+
283
+	/**
284
+	 * @param string $beforeSetDimensions
285
+	 *
286
+	 * @return $this
287
+	 */
288
+	public function setBeforeSetDimensions($beforeSetDimensions)
289
+	{
290
+		$this->beforeSetDimensions = strval($beforeSetDimensions);
291
+
292
+		return $this;
293
+	}
294
+
295
+	/**
296
+	 * @return string
297
+	 */
298
+	public function getAfterSetDimensions()
299
+	{
300
+		return $this->afterSetDimensions;
301
+	}
302
+
303
+	/**
304
+	 * @param string $afterSetDimensions
305
+	 *
306
+	 * @return $this
307
+	 */
308
+	public function setAfterSetDimensions($afterSetDimensions)
309
+	{
310
+		$this->afterSetDimensions = strval($afterSetDimensions);
311
+
312
+		return $this;
313
+	}
314
+
315
+	/**
316
+	 * @return string
317
+	 */
318
+	public function getBeforeDataLimits()
319
+	{
320
+		return $this->beforeDataLimits;
321
+	}
322
+
323
+	/**
324
+	 * @param string $beforeDataLimits
325
+	 *
326
+	 * @return $this
327
+	 */
328
+	public function setBeforeDataLimits($beforeDataLimits)
329
+	{
330
+		$this->beforeDataLimits = strval($beforeDataLimits);
331
+
332
+		return $this;
333
+	}
334
+
335
+	/**
336
+	 * @return string
337
+	 */
338
+	public function getAfterDataLimits()
339
+	{
340
+		return $this->afterDataLimits;
341
+	}
342
+
343
+	/**
344
+	 * @param string $afterDataLimits
345
+	 *
346
+	 * @return $this
347
+	 */
348
+	public function setAfterDataLimits($afterDataLimits)
349
+	{
350
+		$this->afterDataLimits = strval($afterDataLimits);
351
+
352
+		return $this;
353
+	}
354
+
355
+	/**
356
+	 * @return string
357
+	 */
358
+	public function getBeforeBuildTicks()
359
+	{
360
+		return $this->beforeBuildTicks;
361
+	}
362
+
363
+	/**
364
+	 * @param string $beforeBuildTicks
365
+	 *
366
+	 * @return $this
367
+	 */
368
+	public function setBeforeBuildTicks($beforeBuildTicks)
369
+	{
370
+		$this->beforeBuildTicks = strval($beforeBuildTicks);
371
+
372
+		return $this;
373
+	}
374
+
375
+	/**
376
+	 * @return string
377
+	 */
378
+	public function getAfterBuildTicks()
379
+	{
380
+		return $this->afterBuildTicks;
381
+	}
382
+
383
+	/**
384
+	 * @param string $afterBuildTicks
385
+	 *
386
+	 * @return $this
387
+	 */
388
+	public function setAfterBuildTicks($afterBuildTicks)
389
+	{
390
+		$this->afterBuildTicks = strval($afterBuildTicks);
391
+
392
+		return $this;
393
+	}
394
+
395
+	/**
396
+	 * @return string
397
+	 */
398
+	public function getBeforeTickToLabelConversion()
399
+	{
400
+		return $this->beforeTickToLabelConversion;
401
+	}
402
+
403
+	/**
404
+	 * @param string $beforeTickToLabelConversion
405
+	 *
406
+	 * @return $this
407
+	 */
408
+	public function setBeforeTickToLabelConversion($beforeTickToLabelConversion)
409
+	{
410
+		$this->beforeTickToLabelConversion = strval($beforeTickToLabelConversion);
411
+
412
+		return $this;
413
+	}
414
+
415
+	/**
416
+	 * @return string
417
+	 */
418
+	public function getAfterTickToLabelConversion()
419
+	{
420
+		return $this->afterTickToLabelConversion;
421
+	}
422
+
423
+	/**
424
+	 * @param string $afterTickToLabelConversion
425
+	 *
426
+	 * @return $this
427
+	 */
428
+	public function setAfterTickToLabelConversion($afterTickToLabelConversion)
429
+	{
430
+		$this->afterTickToLabelConversion = strval($afterTickToLabelConversion);
431
+
432
+		return $this;
433
+	}
434
+
435
+	/**
436
+	 * @return string
437
+	 */
438
+	public function getBeforeCalculateTickRotation()
439
+	{
440
+		return $this->beforeCalculateTickRotation;
441
+	}
442
+
443
+	/**
444
+	 * @param string $beforeCalculateTickRotation
445
+	 *
446
+	 * @return $this
447
+	 */
448
+	public function setBeforeCalculateTickRotation($beforeCalculateTickRotation)
449
+	{
450
+		$this->beforeCalculateTickRotation = strval($beforeCalculateTickRotation);
451
+
452
+		return $this;
453
+	}
454
+
455
+	/**
456
+	 * @return string
457
+	 */
458
+	public function getAfterCalculateTickRotation()
459
+	{
460
+		return $this->afterCalculateTickRotation;
461
+	}
462
+
463
+	/**
464
+	 * @param string $afterCalculateTickRotation
465
+	 *
466
+	 * @return $this
467
+	 */
468
+	public function setAfterCalculateTickRotation($afterCalculateTickRotation)
469
+	{
470
+		$this->afterCalculateTickRotation = strval($afterCalculateTickRotation);
471
+
472
+		return $this;
473
+	}
474
+
475
+	/**
476
+	 * @return string
477
+	 */
478
+	public function getBeforeFit()
479
+	{
480
+		return $this->beforeFit;
481
+	}
482
+
483
+	/**
484
+	 * @param string $beforeFit
485
+	 *
486
+	 * @return $this
487
+	 */
488
+	public function setBeforeFit($beforeFit)
489
+	{
490
+		$this->beforeFit = strval($beforeFit);
491
+
492
+		return $this;
493
+	}
494
+
495
+	/**
496
+	 * @return string
497
+	 */
498
+	public function getAfterFit()
499
+	{
500
+		return $this->afterFit;
501
+	}
502
+
503
+	/**
504
+	 * @param string $afterFit
505
+	 *
506
+	 * @return $this
507
+	 */
508
+	public function setAfterFit($afterFit)
509
+	{
510
+		$this->afterFit = strval($afterFit);
511
+
512
+		return $this;
513
+	}
514
+
515
+	/**
516
+	 * @return string
517
+	 */
518
+	public function getAfterUpdate()
519
+	{
520
+		return $this->afterUpdate;
521
+	}
522
+
523
+	/**
524
+	 * @param string $afterUpdate
525
+	 *
526
+	 * @return $this
527
+	 */
528
+	public function setAfterUpdate($afterUpdate)
529
+	{
530
+		$this->afterUpdate = strval($afterUpdate);
531
+
532
+		return $this;
533
+	}
534
+
535
+	/**
536
+	 * @return GridLines
537
+	 */
538
+	public function getGridLines()
539
+	{
540
+		return $this->gridLines;
541
+	}
542
+
543
+	/**
544
+	 * @return GridLines
545
+	 */
546
+	public function gridLines()
547
+	{
548
+		if (is_null($this->gridLines)) {
549
+			$this->gridLines = new GridLines();
550
+		}
551
+
552
+		return $this->gridLines;
553
+	}
554
+
555
+	/**
556
+	 * @return ScaleLabel
557
+	 */
558
+	public function getScaleLabel()
559
+	{
560
+		return $this->scaleLabel;
561
+	}
562
+
563
+	/**
564
+	 * @return ScaleLabel
565
+	 */
566
+	public function scaleLabel()
567
+	{
568
+		if (is_null($this->scaleLabel)) {
569
+			$this->scaleLabel = new ScaleLabel();
570
+		}
571
+
572
+		return $this->scaleLabel;
573
+	}
574
+
575
+	/**
576
+	 * @return Ticks
577
+	 */
578
+	public function getTicks()
579
+	{
580
+		return $this->ticks;
581
+	}
582
+
583
+	/**
584
+	 * @return Ticks
585
+	 */
586
+	public function ticks()
587
+	{
588
+		if (is_null($this->ticks)) {
589
+			$this->ticks = new Ticks();
590
+		}
591
+
592
+		return $this->ticks;
593
+	}
594
+
595
+	/**
596
+	 * @return string
597
+	 */
598
+	public function jsonSerialize()
599
+	{
600
+		return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]);
601
+	}
602 602
 }
Please login to merge, or discard this patch.
src/Options/Animation/PieAnimation.php 1 patch
Indentation   +49 added lines, -49 removed lines patch added patch discarded remove patch
@@ -10,53 +10,53 @@
 block discarded – undo
10 10
  */
11 11
 class PieAnimation extends Animation
12 12
 {
13
-    /**
14
-     * @var bool
15
-     */
16
-    private $animateRotate;
17
-
18
-    /**
19
-     * @var bool
20
-     */
21
-    private $animateScale;
22
-
23
-    /**
24
-     * @return bool
25
-     */
26
-    public function isAnimateRotate()
27
-    {
28
-        return $this->animateRotate;
29
-    }
30
-
31
-    /**
32
-     * @param bool $animateRotate
33
-     *
34
-     * @return PieAnimation
35
-     */
36
-    public function setAnimateRotate($animateRotate)
37
-    {
38
-        $this->animateRotate = $animateRotate;
39
-
40
-        return $this;
41
-    }
42
-
43
-    /**
44
-     * @return bool
45
-     */
46
-    public function isAnimateScale()
47
-    {
48
-        return $this->animateScale;
49
-    }
50
-
51
-    /**
52
-     * @param bool $animateScale
53
-     *
54
-     * @return PieAnimation
55
-     */
56
-    public function setAnimateScale($animateScale)
57
-    {
58
-        $this->animateScale = $animateScale;
59
-
60
-        return $this;
61
-    }
13
+	/**
14
+	 * @var bool
15
+	 */
16
+	private $animateRotate;
17
+
18
+	/**
19
+	 * @var bool
20
+	 */
21
+	private $animateScale;
22
+
23
+	/**
24
+	 * @return bool
25
+	 */
26
+	public function isAnimateRotate()
27
+	{
28
+		return $this->animateRotate;
29
+	}
30
+
31
+	/**
32
+	 * @param bool $animateRotate
33
+	 *
34
+	 * @return PieAnimation
35
+	 */
36
+	public function setAnimateRotate($animateRotate)
37
+	{
38
+		$this->animateRotate = $animateRotate;
39
+
40
+		return $this;
41
+	}
42
+
43
+	/**
44
+	 * @return bool
45
+	 */
46
+	public function isAnimateScale()
47
+	{
48
+		return $this->animateScale;
49
+	}
50
+
51
+	/**
52
+	 * @param bool $animateScale
53
+	 *
54
+	 * @return PieAnimation
55
+	 */
56
+	public function setAnimateScale($animateScale)
57
+	{
58
+		$this->animateScale = $animateScale;
59
+
60
+		return $this;
61
+	}
62 62
 }
Please login to merge, or discard this patch.
src/Options/Tooltips.php 1 patch
Indentation   +801 added lines, -801 removed lines patch added patch discarded remove patch
@@ -14,805 +14,805 @@
 block discarded – undo
14 14
  */
15 15
 class Tooltips implements ArraySerializableInterface, \JsonSerializable
16 16
 {
17
-    use ArraySerializable;
18
-
19
-    /**
20
-     * @var bool
21
-     */
22
-    private $enabled;
23
-
24
-    /**
25
-     * @var Expr
26
-     */
27
-    private $custom;
28
-
29
-    /**
30
-     * @var string
31
-     */
32
-    private $mode;
33
-
34
-    /**
35
-     * @var bool
36
-     */
37
-    private $intersect;
38
-
39
-    /**
40
-     * @var string
41
-     */
42
-    private $position;
43
-
44
-    /**
45
-     * @var Expr
46
-     */
47
-    private $itemSort;
48
-
49
-    /**
50
-     * @var Expr
51
-     */
52
-    private $filter;
53
-
54
-    /**
55
-     * @var string
56
-     */
57
-    private $backgroundColor;
58
-
59
-    /**
60
-     * @var string
61
-     */
62
-    private $titleFontFamily;
63
-
64
-    /**
65
-     * @var int
66
-     */
67
-    private $titleFontSize;
68
-
69
-    /**
70
-     * @var string
71
-     */
72
-    private $titleFontStyle;
73
-
74
-    /**
75
-     * @var string
76
-     */
77
-    private $titleFontColor;
78
-
79
-    /**
80
-     * @var int
81
-     */
82
-    private $titleSpacing;
83
-
84
-    /**
85
-     * @var int
86
-     */
87
-    private $titleMarginBottom;
88
-
89
-    /**
90
-     * @var string
91
-     */
92
-    private $bodyFontFamily;
93
-
94
-    /**
95
-     * @var int
96
-     */
97
-    private $bodyFontSize;
98
-
99
-    /**
100
-     * @var string
101
-     */
102
-    private $bodyFontStyle;
103
-
104
-    /**
105
-     * @var string
106
-     */
107
-    private $bodyFontColor;
108
-
109
-    /**
110
-     * @var int
111
-     */
112
-    private $bodySpacing;
113
-
114
-    /**
115
-     * @var string
116
-     */
117
-    private $footerFontFamily;
118
-
119
-    /**
120
-     * @var int
121
-     */
122
-    private $footerFontSize;
123
-
124
-    /**
125
-     * @var string
126
-     */
127
-    private $footerFontStyle;
128
-
129
-    /**
130
-     * @var string
131
-     */
132
-    private $footerFontColor;
133
-
134
-    /**
135
-     * @var int
136
-     */
137
-    private $footerSpacing;
138
-
139
-    /**
140
-     * @var int
141
-     */
142
-    private $footerMarginTop;
143
-
144
-    /**
145
-     * @var int
146
-     */
147
-    private $xPadding;
148
-
149
-    /**
150
-     * @var int
151
-     */
152
-    private $yPadding;
153
-
154
-    /**
155
-     * @var int
156
-     */
157
-    private $caretSize;
158
-
159
-    /**
160
-     * @var int
161
-     */
162
-    private $cornerRadius;
163
-
164
-    /**
165
-     * @var string
166
-     */
167
-    private $multiKeyBackground;
168
-
169
-    /**
170
-     * @var bool
171
-     */
172
-    private $displayColors;
173
-
174
-    /**
175
-     * @var Callbacks
176
-     */
177
-    private $callbacks;
178
-
179
-    /**
180
-     * @return bool
181
-     */
182
-    public function isEnabled()
183
-    {
184
-        return $this->enabled;
185
-    }
186
-
187
-    /**
188
-     * @param bool $enabled
189
-     *
190
-     * @return $this
191
-     */
192
-    public function setEnabled($enabled)
193
-    {
194
-        $this->enabled = ! ! $enabled;
195
-
196
-        return $this;
197
-    }
198
-
199
-    /**
200
-     * @return \Zend\Json\Expr
201
-     */
202
-    public function getCustom()
203
-    {
204
-        return $this->custom;
205
-    }
206
-
207
-    /**
208
-     * @param \Zend\Json\Expr $custom
209
-     *
210
-     * @return $this
211
-     */
212
-    public function setCustom($custom)
213
-    {
214
-        $this->custom = $custom;
215
-
216
-        return $this;
217
-    }
218
-
219
-    /**
220
-     * @return string
221
-     */
222
-    public function getMode()
223
-    {
224
-        return $this->mode;
225
-    }
226
-
227
-    /**
228
-     * @param string $mode
229
-     *
230
-     * @return $this
231
-     */
232
-    public function setMode($mode)
233
-    {
234
-        $this->mode = strval($mode);
235
-
236
-        return $this;
237
-    }
238
-
239
-    /**
240
-     * @return bool
241
-     */
242
-    public function isIntersect()
243
-    {
244
-        return $this->intersect;
245
-    }
246
-
247
-    /**
248
-     * @param bool $intersect
249
-     *
250
-     * @return $this
251
-     */
252
-    public function setIntersect($intersect)
253
-    {
254
-        $this->intersect = ! ! $intersect;
255
-
256
-        return $this;
257
-    }
258
-
259
-    /**
260
-     * @return string
261
-     */
262
-    public function getPosition()
263
-    {
264
-        return $this->position;
265
-    }
266
-
267
-    /**
268
-     * @param string $position
269
-     *
270
-     * @return $this
271
-     */
272
-    public function setPosition($position)
273
-    {
274
-        $this->position = strval($position);
275
-
276
-        return $this;
277
-    }
278
-
279
-    /**
280
-     * @return Expr
281
-     */
282
-    public function getItemSort()
283
-    {
284
-        return $this->itemSort;
285
-    }
286
-
287
-    /**
288
-     * @param Expr $itemSort
289
-     *
290
-     * @return $this
291
-     */
292
-    public function setItemSort($itemSort)
293
-    {
294
-        $this->itemSort = new Expr(strval($itemSort));
295
-
296
-        return $this;
297
-    }
298
-
299
-    /**
300
-     * @return Expr
301
-     */
302
-    public function getFilter()
303
-    {
304
-        return $this->filter;
305
-    }
306
-
307
-    /**
308
-     * @param Expr $filter
309
-     *
310
-     * @return $this
311
-     */
312
-    public function setFilter($filter)
313
-    {
314
-        $this->filter = new Expr(strval($filter));
315
-
316
-        return $this;
317
-    }
318
-
319
-    /**
320
-     * @return string
321
-     */
322
-    public function getBackgroundColor()
323
-    {
324
-        return $this->backgroundColor;
325
-    }
326
-
327
-    /**
328
-     * @param string $backgroundColor
329
-     *
330
-     * @return $this
331
-     */
332
-    public function setBackgroundColor($backgroundColor)
333
-    {
334
-        $this->backgroundColor = strval($backgroundColor);
335
-
336
-        return $this;
337
-    }
338
-
339
-    /**
340
-     * @return string
341
-     */
342
-    public function getTitleFontFamily()
343
-    {
344
-        return $this->titleFontFamily;
345
-    }
346
-
347
-    /**
348
-     * @param string $titleFontFamily
349
-     *
350
-     * @return $this
351
-     */
352
-    public function setTitleFontFamily($titleFontFamily)
353
-    {
354
-        $this->titleFontFamily = strval($titleFontFamily);
355
-
356
-        return $this;
357
-    }
358
-
359
-    /**
360
-     * @return int
361
-     */
362
-    public function getTitleFontSize()
363
-    {
364
-        return $this->titleFontSize;
365
-    }
366
-
367
-    /**
368
-     * @param int $titleFontSize
369
-     *
370
-     * @return $this
371
-     */
372
-    public function setTitleFontSize($titleFontSize)
373
-    {
374
-        $this->titleFontSize = intval($titleFontSize);
375
-
376
-        return $this;
377
-    }
378
-
379
-    /**
380
-     * @return string
381
-     */
382
-    public function getTitleFontStyle()
383
-    {
384
-        return $this->titleFontStyle;
385
-    }
386
-
387
-    /**
388
-     * @param string $titleFontStyle
389
-     *
390
-     * @return $this
391
-     */
392
-    public function setTitleFontStyle($titleFontStyle)
393
-    {
394
-        $this->titleFontStyle = strval($titleFontStyle);
395
-
396
-        return $this;
397
-    }
398
-
399
-    /**
400
-     * @return string
401
-     */
402
-    public function getTitleFontColor()
403
-    {
404
-        return $this->titleFontColor;
405
-    }
406
-
407
-    /**
408
-     * @param string $titleFontColor
409
-     *
410
-     * @return $this
411
-     */
412
-    public function setTitleFontColor($titleFontColor)
413
-    {
414
-        $this->titleFontColor = strval($titleFontColor);
415
-
416
-        return $this;
417
-    }
418
-
419
-    /**
420
-     * @return int
421
-     */
422
-    public function getTitleSpacing()
423
-    {
424
-        return $this->titleSpacing;
425
-    }
426
-
427
-    /**
428
-     * @param int $titleSpacing
429
-     *
430
-     * @return $this
431
-     */
432
-    public function setTitleSpacing($titleSpacing)
433
-    {
434
-        $this->titleSpacing = intval($titleSpacing);
435
-
436
-        return $this;
437
-    }
438
-
439
-    /**
440
-     * @return int
441
-     */
442
-    public function getTitleMarginBottom()
443
-    {
444
-        return $this->titleMarginBottom;
445
-    }
446
-
447
-    /**
448
-     * @param int $titleMarginBottom
449
-     *
450
-     * @return $this
451
-     */
452
-    public function setTitleMarginBottom($titleMarginBottom)
453
-    {
454
-        $this->titleMarginBottom = intval($titleMarginBottom);
455
-
456
-        return $this;
457
-    }
458
-
459
-    /**
460
-     * @return string
461
-     */
462
-    public function getBodyFontFamily()
463
-    {
464
-        return $this->bodyFontFamily;
465
-    }
466
-
467
-    /**
468
-     * @param string $bodyFontFamily
469
-     *
470
-     * @return $this
471
-     */
472
-    public function setBodyFontFamily($bodyFontFamily)
473
-    {
474
-        $this->bodyFontFamily = strval($bodyFontFamily);
475
-
476
-        return $this;
477
-    }
478
-
479
-    /**
480
-     * @return int
481
-     */
482
-    public function getBodyFontSize()
483
-    {
484
-        return $this->bodyFontSize;
485
-    }
486
-
487
-    /**
488
-     * @param int $bodyFontSize
489
-     *
490
-     * @return $this
491
-     */
492
-    public function setBodyFontSize($bodyFontSize)
493
-    {
494
-        $this->bodyFontSize = intval($bodyFontSize);
495
-
496
-        return $this;
497
-    }
498
-
499
-    /**
500
-     * @return string
501
-     */
502
-    public function getBodyFontStyle()
503
-    {
504
-        return $this->bodyFontStyle;
505
-    }
506
-
507
-    /**
508
-     * @param string $bodyFontStyle
509
-     *
510
-     * @return $this
511
-     */
512
-    public function setBodyFontStyle($bodyFontStyle)
513
-    {
514
-        $this->bodyFontStyle = strval($bodyFontStyle);
515
-
516
-        return $this;
517
-    }
518
-
519
-    /**
520
-     * @return string
521
-     */
522
-    public function getBodyFontColor()
523
-    {
524
-        return $this->bodyFontColor;
525
-    }
526
-
527
-    /**
528
-     * @param string $bodyFontColor
529
-     *
530
-     * @return $this
531
-     */
532
-    public function setBodyFontColor($bodyFontColor)
533
-    {
534
-        $this->bodyFontColor = strval($bodyFontColor);
535
-
536
-        return $this;
537
-    }
538
-
539
-    /**
540
-     * @return int
541
-     */
542
-    public function getBodySpacing()
543
-    {
544
-        return $this->bodySpacing;
545
-    }
546
-
547
-    /**
548
-     * @param int $bodySpacing
549
-     *
550
-     * @return $this
551
-     */
552
-    public function setBodySpacing($bodySpacing)
553
-    {
554
-        $this->bodySpacing = intval($bodySpacing);
555
-
556
-        return $this;
557
-    }
558
-
559
-    /**
560
-     * @return string
561
-     */
562
-    public function getFooterFontFamily()
563
-    {
564
-        return $this->footerFontFamily;
565
-    }
566
-
567
-    /**
568
-     * @param string $footerFontFamily
569
-     *
570
-     * @return $this
571
-     */
572
-    public function setFooterFontFamily($footerFontFamily)
573
-    {
574
-        $this->footerFontFamily = strval($footerFontFamily);
575
-
576
-        return $this;
577
-    }
578
-
579
-    /**
580
-     * @return int
581
-     */
582
-    public function getFooterFontSize()
583
-    {
584
-        return $this->footerFontSize;
585
-    }
586
-
587
-    /**
588
-     * @param int $footerFontSize
589
-     *
590
-     * @return $this
591
-     */
592
-    public function setFooterFontSize($footerFontSize)
593
-    {
594
-        $this->footerFontSize = intval($footerFontSize);
595
-
596
-        return $this;
597
-    }
598
-
599
-    /**
600
-     * @return string
601
-     */
602
-    public function getFooterFontStyle()
603
-    {
604
-        return $this->footerFontStyle;
605
-    }
606
-
607
-    /**
608
-     * @param string $footerFontStyle
609
-     *
610
-     * @return $this
611
-     */
612
-    public function setFooterFontStyle($footerFontStyle)
613
-    {
614
-        $this->footerFontStyle = strval($footerFontStyle);
615
-
616
-        return $this;
617
-    }
618
-
619
-    /**
620
-     * @return string
621
-     */
622
-    public function getFooterFontColor()
623
-    {
624
-        return $this->footerFontColor;
625
-    }
626
-
627
-    /**
628
-     * @param string $footerFontColor
629
-     *
630
-     * @return $this
631
-     */
632
-    public function setFooterFontColor($footerFontColor)
633
-    {
634
-        $this->footerFontColor = strval($footerFontColor);
635
-
636
-        return $this;
637
-    }
638
-
639
-    /**
640
-     * @return int
641
-     */
642
-    public function getFooterSpacing()
643
-    {
644
-        return $this->footerSpacing;
645
-    }
646
-
647
-    /**
648
-     * @param int $footerSpacing
649
-     *
650
-     * @return $this
651
-     */
652
-    public function setFooterSpacing($footerSpacing)
653
-    {
654
-        $this->footerSpacing = intval($footerSpacing);
655
-
656
-        return $this;
657
-    }
658
-
659
-    /**
660
-     * @return int
661
-     */
662
-    public function getFooterMarginTop()
663
-    {
664
-        return $this->footerMarginTop;
665
-    }
666
-
667
-    /**
668
-     * @param int $footerMarginTop
669
-     *
670
-     * @return $this
671
-     */
672
-    public function setFooterMarginTop($footerMarginTop)
673
-    {
674
-        $this->footerMarginTop = intval($footerMarginTop);
675
-
676
-        return $this;
677
-    }
678
-
679
-    /**
680
-     * @return int
681
-     */
682
-    public function getXPadding()
683
-    {
684
-        return $this->xPadding;
685
-    }
686
-
687
-    /**
688
-     * @param int $xPadding
689
-     *
690
-     * @return $this
691
-     */
692
-    public function setXPadding($xPadding)
693
-    {
694
-        $this->xPadding = intval($xPadding);
695
-
696
-        return $this;
697
-    }
698
-
699
-    /**
700
-     * @return int
701
-     */
702
-    public function getYPadding()
703
-    {
704
-        return $this->yPadding;
705
-    }
706
-
707
-    /**
708
-     * @param int $yPadding
709
-     *
710
-     * @return $this
711
-     */
712
-    public function setYPadding($yPadding)
713
-    {
714
-        $this->yPadding = intval($yPadding);
715
-
716
-        return $this;
717
-    }
718
-
719
-    /**
720
-     * @return int
721
-     */
722
-    public function getCaretSize()
723
-    {
724
-        return $this->caretSize;
725
-    }
726
-
727
-    /**
728
-     * @param int $caretSize
729
-     *
730
-     * @return $this
731
-     */
732
-    public function setCaretSize($caretSize)
733
-    {
734
-        $this->caretSize = intval($caretSize);
735
-
736
-        return $this;
737
-    }
738
-
739
-    /**
740
-     * @return int
741
-     */
742
-    public function getCornerRadius()
743
-    {
744
-        return $this->cornerRadius;
745
-    }
746
-
747
-    /**
748
-     * @param int $cornerRadius
749
-     *
750
-     * @return $this
751
-     */
752
-    public function setCornerRadius($cornerRadius)
753
-    {
754
-        $this->cornerRadius = intval($cornerRadius);
755
-
756
-        return $this;
757
-    }
758
-
759
-    /**
760
-     * @return string
761
-     */
762
-    public function getMultiKeyBackground()
763
-    {
764
-        return $this->multiKeyBackground;
765
-    }
766
-
767
-    /**
768
-     * @param string $multiKeyBackground
769
-     *
770
-     * @return $this
771
-     */
772
-    public function setMultiKeyBackground($multiKeyBackground)
773
-    {
774
-        $this->multiKeyBackground = strval($multiKeyBackground);
775
-
776
-        return $this;
777
-    }
778
-
779
-    /**
780
-     * @return bool
781
-     */
782
-    public function isDisplayColors()
783
-    {
784
-        return $this->displayColors;
785
-    }
786
-
787
-    /**
788
-     * @param bool $displayColors
789
-     *
790
-     * @return $this
791
-     */
792
-    public function setDisplayColors($displayColors)
793
-    {
794
-        $this->displayColors = ! ! $displayColors;
795
-
796
-        return $this;
797
-    }
798
-
799
-    /**
800
-     * @return Callbacks
801
-     */
802
-    public function callbacks()
803
-    {
804
-        if (is_null($this->callbacks)) {
805
-            $this->callbacks = new Callbacks();
806
-        }
807
-
808
-        return $this->callbacks;
809
-    }
810
-
811
-    /**
812
-     * @return mixed
813
-     */
814
-    public function jsonSerialize()
815
-    {
816
-        return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]);
817
-    }
17
+	use ArraySerializable;
18
+
19
+	/**
20
+	 * @var bool
21
+	 */
22
+	private $enabled;
23
+
24
+	/**
25
+	 * @var Expr
26
+	 */
27
+	private $custom;
28
+
29
+	/**
30
+	 * @var string
31
+	 */
32
+	private $mode;
33
+
34
+	/**
35
+	 * @var bool
36
+	 */
37
+	private $intersect;
38
+
39
+	/**
40
+	 * @var string
41
+	 */
42
+	private $position;
43
+
44
+	/**
45
+	 * @var Expr
46
+	 */
47
+	private $itemSort;
48
+
49
+	/**
50
+	 * @var Expr
51
+	 */
52
+	private $filter;
53
+
54
+	/**
55
+	 * @var string
56
+	 */
57
+	private $backgroundColor;
58
+
59
+	/**
60
+	 * @var string
61
+	 */
62
+	private $titleFontFamily;
63
+
64
+	/**
65
+	 * @var int
66
+	 */
67
+	private $titleFontSize;
68
+
69
+	/**
70
+	 * @var string
71
+	 */
72
+	private $titleFontStyle;
73
+
74
+	/**
75
+	 * @var string
76
+	 */
77
+	private $titleFontColor;
78
+
79
+	/**
80
+	 * @var int
81
+	 */
82
+	private $titleSpacing;
83
+
84
+	/**
85
+	 * @var int
86
+	 */
87
+	private $titleMarginBottom;
88
+
89
+	/**
90
+	 * @var string
91
+	 */
92
+	private $bodyFontFamily;
93
+
94
+	/**
95
+	 * @var int
96
+	 */
97
+	private $bodyFontSize;
98
+
99
+	/**
100
+	 * @var string
101
+	 */
102
+	private $bodyFontStyle;
103
+
104
+	/**
105
+	 * @var string
106
+	 */
107
+	private $bodyFontColor;
108
+
109
+	/**
110
+	 * @var int
111
+	 */
112
+	private $bodySpacing;
113
+
114
+	/**
115
+	 * @var string
116
+	 */
117
+	private $footerFontFamily;
118
+
119
+	/**
120
+	 * @var int
121
+	 */
122
+	private $footerFontSize;
123
+
124
+	/**
125
+	 * @var string
126
+	 */
127
+	private $footerFontStyle;
128
+
129
+	/**
130
+	 * @var string
131
+	 */
132
+	private $footerFontColor;
133
+
134
+	/**
135
+	 * @var int
136
+	 */
137
+	private $footerSpacing;
138
+
139
+	/**
140
+	 * @var int
141
+	 */
142
+	private $footerMarginTop;
143
+
144
+	/**
145
+	 * @var int
146
+	 */
147
+	private $xPadding;
148
+
149
+	/**
150
+	 * @var int
151
+	 */
152
+	private $yPadding;
153
+
154
+	/**
155
+	 * @var int
156
+	 */
157
+	private $caretSize;
158
+
159
+	/**
160
+	 * @var int
161
+	 */
162
+	private $cornerRadius;
163
+
164
+	/**
165
+	 * @var string
166
+	 */
167
+	private $multiKeyBackground;
168
+
169
+	/**
170
+	 * @var bool
171
+	 */
172
+	private $displayColors;
173
+
174
+	/**
175
+	 * @var Callbacks
176
+	 */
177
+	private $callbacks;
178
+
179
+	/**
180
+	 * @return bool
181
+	 */
182
+	public function isEnabled()
183
+	{
184
+		return $this->enabled;
185
+	}
186
+
187
+	/**
188
+	 * @param bool $enabled
189
+	 *
190
+	 * @return $this
191
+	 */
192
+	public function setEnabled($enabled)
193
+	{
194
+		$this->enabled = ! ! $enabled;
195
+
196
+		return $this;
197
+	}
198
+
199
+	/**
200
+	 * @return \Zend\Json\Expr
201
+	 */
202
+	public function getCustom()
203
+	{
204
+		return $this->custom;
205
+	}
206
+
207
+	/**
208
+	 * @param \Zend\Json\Expr $custom
209
+	 *
210
+	 * @return $this
211
+	 */
212
+	public function setCustom($custom)
213
+	{
214
+		$this->custom = $custom;
215
+
216
+		return $this;
217
+	}
218
+
219
+	/**
220
+	 * @return string
221
+	 */
222
+	public function getMode()
223
+	{
224
+		return $this->mode;
225
+	}
226
+
227
+	/**
228
+	 * @param string $mode
229
+	 *
230
+	 * @return $this
231
+	 */
232
+	public function setMode($mode)
233
+	{
234
+		$this->mode = strval($mode);
235
+
236
+		return $this;
237
+	}
238
+
239
+	/**
240
+	 * @return bool
241
+	 */
242
+	public function isIntersect()
243
+	{
244
+		return $this->intersect;
245
+	}
246
+
247
+	/**
248
+	 * @param bool $intersect
249
+	 *
250
+	 * @return $this
251
+	 */
252
+	public function setIntersect($intersect)
253
+	{
254
+		$this->intersect = ! ! $intersect;
255
+
256
+		return $this;
257
+	}
258
+
259
+	/**
260
+	 * @return string
261
+	 */
262
+	public function getPosition()
263
+	{
264
+		return $this->position;
265
+	}
266
+
267
+	/**
268
+	 * @param string $position
269
+	 *
270
+	 * @return $this
271
+	 */
272
+	public function setPosition($position)
273
+	{
274
+		$this->position = strval($position);
275
+
276
+		return $this;
277
+	}
278
+
279
+	/**
280
+	 * @return Expr
281
+	 */
282
+	public function getItemSort()
283
+	{
284
+		return $this->itemSort;
285
+	}
286
+
287
+	/**
288
+	 * @param Expr $itemSort
289
+	 *
290
+	 * @return $this
291
+	 */
292
+	public function setItemSort($itemSort)
293
+	{
294
+		$this->itemSort = new Expr(strval($itemSort));
295
+
296
+		return $this;
297
+	}
298
+
299
+	/**
300
+	 * @return Expr
301
+	 */
302
+	public function getFilter()
303
+	{
304
+		return $this->filter;
305
+	}
306
+
307
+	/**
308
+	 * @param Expr $filter
309
+	 *
310
+	 * @return $this
311
+	 */
312
+	public function setFilter($filter)
313
+	{
314
+		$this->filter = new Expr(strval($filter));
315
+
316
+		return $this;
317
+	}
318
+
319
+	/**
320
+	 * @return string
321
+	 */
322
+	public function getBackgroundColor()
323
+	{
324
+		return $this->backgroundColor;
325
+	}
326
+
327
+	/**
328
+	 * @param string $backgroundColor
329
+	 *
330
+	 * @return $this
331
+	 */
332
+	public function setBackgroundColor($backgroundColor)
333
+	{
334
+		$this->backgroundColor = strval($backgroundColor);
335
+
336
+		return $this;
337
+	}
338
+
339
+	/**
340
+	 * @return string
341
+	 */
342
+	public function getTitleFontFamily()
343
+	{
344
+		return $this->titleFontFamily;
345
+	}
346
+
347
+	/**
348
+	 * @param string $titleFontFamily
349
+	 *
350
+	 * @return $this
351
+	 */
352
+	public function setTitleFontFamily($titleFontFamily)
353
+	{
354
+		$this->titleFontFamily = strval($titleFontFamily);
355
+
356
+		return $this;
357
+	}
358
+
359
+	/**
360
+	 * @return int
361
+	 */
362
+	public function getTitleFontSize()
363
+	{
364
+		return $this->titleFontSize;
365
+	}
366
+
367
+	/**
368
+	 * @param int $titleFontSize
369
+	 *
370
+	 * @return $this
371
+	 */
372
+	public function setTitleFontSize($titleFontSize)
373
+	{
374
+		$this->titleFontSize = intval($titleFontSize);
375
+
376
+		return $this;
377
+	}
378
+
379
+	/**
380
+	 * @return string
381
+	 */
382
+	public function getTitleFontStyle()
383
+	{
384
+		return $this->titleFontStyle;
385
+	}
386
+
387
+	/**
388
+	 * @param string $titleFontStyle
389
+	 *
390
+	 * @return $this
391
+	 */
392
+	public function setTitleFontStyle($titleFontStyle)
393
+	{
394
+		$this->titleFontStyle = strval($titleFontStyle);
395
+
396
+		return $this;
397
+	}
398
+
399
+	/**
400
+	 * @return string
401
+	 */
402
+	public function getTitleFontColor()
403
+	{
404
+		return $this->titleFontColor;
405
+	}
406
+
407
+	/**
408
+	 * @param string $titleFontColor
409
+	 *
410
+	 * @return $this
411
+	 */
412
+	public function setTitleFontColor($titleFontColor)
413
+	{
414
+		$this->titleFontColor = strval($titleFontColor);
415
+
416
+		return $this;
417
+	}
418
+
419
+	/**
420
+	 * @return int
421
+	 */
422
+	public function getTitleSpacing()
423
+	{
424
+		return $this->titleSpacing;
425
+	}
426
+
427
+	/**
428
+	 * @param int $titleSpacing
429
+	 *
430
+	 * @return $this
431
+	 */
432
+	public function setTitleSpacing($titleSpacing)
433
+	{
434
+		$this->titleSpacing = intval($titleSpacing);
435
+
436
+		return $this;
437
+	}
438
+
439
+	/**
440
+	 * @return int
441
+	 */
442
+	public function getTitleMarginBottom()
443
+	{
444
+		return $this->titleMarginBottom;
445
+	}
446
+
447
+	/**
448
+	 * @param int $titleMarginBottom
449
+	 *
450
+	 * @return $this
451
+	 */
452
+	public function setTitleMarginBottom($titleMarginBottom)
453
+	{
454
+		$this->titleMarginBottom = intval($titleMarginBottom);
455
+
456
+		return $this;
457
+	}
458
+
459
+	/**
460
+	 * @return string
461
+	 */
462
+	public function getBodyFontFamily()
463
+	{
464
+		return $this->bodyFontFamily;
465
+	}
466
+
467
+	/**
468
+	 * @param string $bodyFontFamily
469
+	 *
470
+	 * @return $this
471
+	 */
472
+	public function setBodyFontFamily($bodyFontFamily)
473
+	{
474
+		$this->bodyFontFamily = strval($bodyFontFamily);
475
+
476
+		return $this;
477
+	}
478
+
479
+	/**
480
+	 * @return int
481
+	 */
482
+	public function getBodyFontSize()
483
+	{
484
+		return $this->bodyFontSize;
485
+	}
486
+
487
+	/**
488
+	 * @param int $bodyFontSize
489
+	 *
490
+	 * @return $this
491
+	 */
492
+	public function setBodyFontSize($bodyFontSize)
493
+	{
494
+		$this->bodyFontSize = intval($bodyFontSize);
495
+
496
+		return $this;
497
+	}
498
+
499
+	/**
500
+	 * @return string
501
+	 */
502
+	public function getBodyFontStyle()
503
+	{
504
+		return $this->bodyFontStyle;
505
+	}
506
+
507
+	/**
508
+	 * @param string $bodyFontStyle
509
+	 *
510
+	 * @return $this
511
+	 */
512
+	public function setBodyFontStyle($bodyFontStyle)
513
+	{
514
+		$this->bodyFontStyle = strval($bodyFontStyle);
515
+
516
+		return $this;
517
+	}
518
+
519
+	/**
520
+	 * @return string
521
+	 */
522
+	public function getBodyFontColor()
523
+	{
524
+		return $this->bodyFontColor;
525
+	}
526
+
527
+	/**
528
+	 * @param string $bodyFontColor
529
+	 *
530
+	 * @return $this
531
+	 */
532
+	public function setBodyFontColor($bodyFontColor)
533
+	{
534
+		$this->bodyFontColor = strval($bodyFontColor);
535
+
536
+		return $this;
537
+	}
538
+
539
+	/**
540
+	 * @return int
541
+	 */
542
+	public function getBodySpacing()
543
+	{
544
+		return $this->bodySpacing;
545
+	}
546
+
547
+	/**
548
+	 * @param int $bodySpacing
549
+	 *
550
+	 * @return $this
551
+	 */
552
+	public function setBodySpacing($bodySpacing)
553
+	{
554
+		$this->bodySpacing = intval($bodySpacing);
555
+
556
+		return $this;
557
+	}
558
+
559
+	/**
560
+	 * @return string
561
+	 */
562
+	public function getFooterFontFamily()
563
+	{
564
+		return $this->footerFontFamily;
565
+	}
566
+
567
+	/**
568
+	 * @param string $footerFontFamily
569
+	 *
570
+	 * @return $this
571
+	 */
572
+	public function setFooterFontFamily($footerFontFamily)
573
+	{
574
+		$this->footerFontFamily = strval($footerFontFamily);
575
+
576
+		return $this;
577
+	}
578
+
579
+	/**
580
+	 * @return int
581
+	 */
582
+	public function getFooterFontSize()
583
+	{
584
+		return $this->footerFontSize;
585
+	}
586
+
587
+	/**
588
+	 * @param int $footerFontSize
589
+	 *
590
+	 * @return $this
591
+	 */
592
+	public function setFooterFontSize($footerFontSize)
593
+	{
594
+		$this->footerFontSize = intval($footerFontSize);
595
+
596
+		return $this;
597
+	}
598
+
599
+	/**
600
+	 * @return string
601
+	 */
602
+	public function getFooterFontStyle()
603
+	{
604
+		return $this->footerFontStyle;
605
+	}
606
+
607
+	/**
608
+	 * @param string $footerFontStyle
609
+	 *
610
+	 * @return $this
611
+	 */
612
+	public function setFooterFontStyle($footerFontStyle)
613
+	{
614
+		$this->footerFontStyle = strval($footerFontStyle);
615
+
616
+		return $this;
617
+	}
618
+
619
+	/**
620
+	 * @return string
621
+	 */
622
+	public function getFooterFontColor()
623
+	{
624
+		return $this->footerFontColor;
625
+	}
626
+
627
+	/**
628
+	 * @param string $footerFontColor
629
+	 *
630
+	 * @return $this
631
+	 */
632
+	public function setFooterFontColor($footerFontColor)
633
+	{
634
+		$this->footerFontColor = strval($footerFontColor);
635
+
636
+		return $this;
637
+	}
638
+
639
+	/**
640
+	 * @return int
641
+	 */
642
+	public function getFooterSpacing()
643
+	{
644
+		return $this->footerSpacing;
645
+	}
646
+
647
+	/**
648
+	 * @param int $footerSpacing
649
+	 *
650
+	 * @return $this
651
+	 */
652
+	public function setFooterSpacing($footerSpacing)
653
+	{
654
+		$this->footerSpacing = intval($footerSpacing);
655
+
656
+		return $this;
657
+	}
658
+
659
+	/**
660
+	 * @return int
661
+	 */
662
+	public function getFooterMarginTop()
663
+	{
664
+		return $this->footerMarginTop;
665
+	}
666
+
667
+	/**
668
+	 * @param int $footerMarginTop
669
+	 *
670
+	 * @return $this
671
+	 */
672
+	public function setFooterMarginTop($footerMarginTop)
673
+	{
674
+		$this->footerMarginTop = intval($footerMarginTop);
675
+
676
+		return $this;
677
+	}
678
+
679
+	/**
680
+	 * @return int
681
+	 */
682
+	public function getXPadding()
683
+	{
684
+		return $this->xPadding;
685
+	}
686
+
687
+	/**
688
+	 * @param int $xPadding
689
+	 *
690
+	 * @return $this
691
+	 */
692
+	public function setXPadding($xPadding)
693
+	{
694
+		$this->xPadding = intval($xPadding);
695
+
696
+		return $this;
697
+	}
698
+
699
+	/**
700
+	 * @return int
701
+	 */
702
+	public function getYPadding()
703
+	{
704
+		return $this->yPadding;
705
+	}
706
+
707
+	/**
708
+	 * @param int $yPadding
709
+	 *
710
+	 * @return $this
711
+	 */
712
+	public function setYPadding($yPadding)
713
+	{
714
+		$this->yPadding = intval($yPadding);
715
+
716
+		return $this;
717
+	}
718
+
719
+	/**
720
+	 * @return int
721
+	 */
722
+	public function getCaretSize()
723
+	{
724
+		return $this->caretSize;
725
+	}
726
+
727
+	/**
728
+	 * @param int $caretSize
729
+	 *
730
+	 * @return $this
731
+	 */
732
+	public function setCaretSize($caretSize)
733
+	{
734
+		$this->caretSize = intval($caretSize);
735
+
736
+		return $this;
737
+	}
738
+
739
+	/**
740
+	 * @return int
741
+	 */
742
+	public function getCornerRadius()
743
+	{
744
+		return $this->cornerRadius;
745
+	}
746
+
747
+	/**
748
+	 * @param int $cornerRadius
749
+	 *
750
+	 * @return $this
751
+	 */
752
+	public function setCornerRadius($cornerRadius)
753
+	{
754
+		$this->cornerRadius = intval($cornerRadius);
755
+
756
+		return $this;
757
+	}
758
+
759
+	/**
760
+	 * @return string
761
+	 */
762
+	public function getMultiKeyBackground()
763
+	{
764
+		return $this->multiKeyBackground;
765
+	}
766
+
767
+	/**
768
+	 * @param string $multiKeyBackground
769
+	 *
770
+	 * @return $this
771
+	 */
772
+	public function setMultiKeyBackground($multiKeyBackground)
773
+	{
774
+		$this->multiKeyBackground = strval($multiKeyBackground);
775
+
776
+		return $this;
777
+	}
778
+
779
+	/**
780
+	 * @return bool
781
+	 */
782
+	public function isDisplayColors()
783
+	{
784
+		return $this->displayColors;
785
+	}
786
+
787
+	/**
788
+	 * @param bool $displayColors
789
+	 *
790
+	 * @return $this
791
+	 */
792
+	public function setDisplayColors($displayColors)
793
+	{
794
+		$this->displayColors = ! ! $displayColors;
795
+
796
+		return $this;
797
+	}
798
+
799
+	/**
800
+	 * @return Callbacks
801
+	 */
802
+	public function callbacks()
803
+	{
804
+		if (is_null($this->callbacks)) {
805
+			$this->callbacks = new Callbacks();
806
+		}
807
+
808
+		return $this->callbacks;
809
+	}
810
+
811
+	/**
812
+	 * @return mixed
813
+	 */
814
+	public function jsonSerialize()
815
+	{
816
+		return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]);
817
+	}
818 818
 }
Please login to merge, or discard this patch.
src/Options/Title.php 1 patch
Indentation   +234 added lines, -234 removed lines patch added patch discarded remove patch
@@ -12,238 +12,238 @@
 block discarded – undo
12 12
  */
13 13
 class Title implements ArraySerializableInterface, \JsonSerializable
14 14
 {
15
-    use ArraySerializable;
16
-
17
-    /**
18
-     * @var bool
19
-     */
20
-    private $display;
21
-
22
-    /**
23
-     * @var string
24
-     */
25
-    private $position;
26
-
27
-    /**
28
-     * @var bool
29
-     */
30
-    private $fullWidth;
31
-
32
-    /**
33
-     * @var int
34
-     */
35
-    private $fontSize;
36
-
37
-    /**
38
-     * @var string
39
-     */
40
-    private $fontFamily;
41
-
42
-    /**
43
-     * @var string
44
-     */
45
-    private $fontColor;
46
-
47
-    /**
48
-     * @var string
49
-     */
50
-    private $fontStyle;
51
-
52
-    /**
53
-     * @var int
54
-     */
55
-    private $padding;
56
-
57
-    /**
58
-     * @var string
59
-     */
60
-    private $text;
61
-
62
-    /**
63
-     * @return bool
64
-     */
65
-    public function isDisplay()
66
-    {
67
-        return $this->display;
68
-    }
69
-
70
-    /**
71
-     * @param bool $display
72
-     *
73
-     * @return $this
74
-     */
75
-    public function setDisplay($display)
76
-    {
77
-        $this->display = ! ! $display;
78
-
79
-        return $this;
80
-    }
81
-
82
-    /**
83
-     * @return string
84
-     */
85
-    public function getPosition()
86
-    {
87
-        return $this->position;
88
-    }
89
-
90
-    /**
91
-     * @param string $position
92
-     *
93
-     * @return $this
94
-     */
95
-    public function setPosition($position)
96
-    {
97
-        $this->position = strval($position);
98
-
99
-        return $this;
100
-    }
101
-
102
-    /**
103
-     * @return bool
104
-     */
105
-    public function isFullWidth()
106
-    {
107
-        return $this->fullWidth;
108
-    }
109
-
110
-    /**
111
-     * @param bool $fullWidth
112
-     *
113
-     * @return $this
114
-     */
115
-    public function setFullWidth($fullWidth)
116
-    {
117
-        $this->fullWidth = ! ! $fullWidth;
118
-
119
-        return $this;
120
-    }
121
-
122
-    /**
123
-     * @return int
124
-     */
125
-    public function getFontSize()
126
-    {
127
-        return $this->fontSize;
128
-    }
129
-
130
-    /**
131
-     * @param int $fontSize
132
-     *
133
-     * @return $this
134
-     */
135
-    public function setFontSize($fontSize)
136
-    {
137
-        $this->fontSize = intval($fontSize);
138
-
139
-        return $this;
140
-    }
141
-
142
-    /**
143
-     * @return string
144
-     */
145
-    public function getFontFamily()
146
-    {
147
-        return $this->fontFamily;
148
-    }
149
-
150
-    /**
151
-     * @param string $fontFamily
152
-     *
153
-     * @return $this
154
-     */
155
-    public function setFontFamily($fontFamily)
156
-    {
157
-        $this->fontFamily = strval($fontFamily);
158
-
159
-        return $this;
160
-    }
161
-
162
-    /**
163
-     * @return string
164
-     */
165
-    public function getFontColor()
166
-    {
167
-        return $this->fontColor;
168
-    }
169
-
170
-    /**
171
-     * @param string $fontColor
172
-     *
173
-     * @return $this
174
-     */
175
-    public function setFontColor($fontColor)
176
-    {
177
-        $this->fontColor = strval($fontColor);
178
-
179
-        return $this;
180
-    }
181
-
182
-    /**
183
-     * @return string
184
-     */
185
-    public function getFontStyle()
186
-    {
187
-        return $this->fontStyle;
188
-    }
189
-
190
-    /**
191
-     * @param string $fontStyle
192
-     *
193
-     * @return $this
194
-     */
195
-    public function setFontStyle($fontStyle)
196
-    {
197
-        $this->fontStyle = strval($fontStyle);
198
-
199
-        return $this;
200
-    }
201
-
202
-    /**
203
-     * @return int
204
-     */
205
-    public function getPadding()
206
-    {
207
-        return $this->padding;
208
-    }
209
-
210
-    /**
211
-     * @param int $padding
212
-     *
213
-     * @return $this
214
-     */
215
-    public function setPadding($padding)
216
-    {
217
-        $this->padding = intval($padding);
218
-
219
-        return $this;
220
-    }
221
-
222
-    /**
223
-     * @return string
224
-     */
225
-    public function getText()
226
-    {
227
-        return $this->text;
228
-    }
229
-
230
-    /**
231
-     * @param string $text
232
-     *
233
-     * @return $this
234
-     */
235
-    public function setText($text)
236
-    {
237
-        $this->text = strval($text);
238
-
239
-        return $this;
240
-    }
241
-
242
-    /**
243
-     * @return string
244
-     */
245
-    public function jsonSerialize()
246
-    {
247
-        return Json::encode($this->getArrayCopy());
248
-    }
15
+	use ArraySerializable;
16
+
17
+	/**
18
+	 * @var bool
19
+	 */
20
+	private $display;
21
+
22
+	/**
23
+	 * @var string
24
+	 */
25
+	private $position;
26
+
27
+	/**
28
+	 * @var bool
29
+	 */
30
+	private $fullWidth;
31
+
32
+	/**
33
+	 * @var int
34
+	 */
35
+	private $fontSize;
36
+
37
+	/**
38
+	 * @var string
39
+	 */
40
+	private $fontFamily;
41
+
42
+	/**
43
+	 * @var string
44
+	 */
45
+	private $fontColor;
46
+
47
+	/**
48
+	 * @var string
49
+	 */
50
+	private $fontStyle;
51
+
52
+	/**
53
+	 * @var int
54
+	 */
55
+	private $padding;
56
+
57
+	/**
58
+	 * @var string
59
+	 */
60
+	private $text;
61
+
62
+	/**
63
+	 * @return bool
64
+	 */
65
+	public function isDisplay()
66
+	{
67
+		return $this->display;
68
+	}
69
+
70
+	/**
71
+	 * @param bool $display
72
+	 *
73
+	 * @return $this
74
+	 */
75
+	public function setDisplay($display)
76
+	{
77
+		$this->display = ! ! $display;
78
+
79
+		return $this;
80
+	}
81
+
82
+	/**
83
+	 * @return string
84
+	 */
85
+	public function getPosition()
86
+	{
87
+		return $this->position;
88
+	}
89
+
90
+	/**
91
+	 * @param string $position
92
+	 *
93
+	 * @return $this
94
+	 */
95
+	public function setPosition($position)
96
+	{
97
+		$this->position = strval($position);
98
+
99
+		return $this;
100
+	}
101
+
102
+	/**
103
+	 * @return bool
104
+	 */
105
+	public function isFullWidth()
106
+	{
107
+		return $this->fullWidth;
108
+	}
109
+
110
+	/**
111
+	 * @param bool $fullWidth
112
+	 *
113
+	 * @return $this
114
+	 */
115
+	public function setFullWidth($fullWidth)
116
+	{
117
+		$this->fullWidth = ! ! $fullWidth;
118
+
119
+		return $this;
120
+	}
121
+
122
+	/**
123
+	 * @return int
124
+	 */
125
+	public function getFontSize()
126
+	{
127
+		return $this->fontSize;
128
+	}
129
+
130
+	/**
131
+	 * @param int $fontSize
132
+	 *
133
+	 * @return $this
134
+	 */
135
+	public function setFontSize($fontSize)
136
+	{
137
+		$this->fontSize = intval($fontSize);
138
+
139
+		return $this;
140
+	}
141
+
142
+	/**
143
+	 * @return string
144
+	 */
145
+	public function getFontFamily()
146
+	{
147
+		return $this->fontFamily;
148
+	}
149
+
150
+	/**
151
+	 * @param string $fontFamily
152
+	 *
153
+	 * @return $this
154
+	 */
155
+	public function setFontFamily($fontFamily)
156
+	{
157
+		$this->fontFamily = strval($fontFamily);
158
+
159
+		return $this;
160
+	}
161
+
162
+	/**
163
+	 * @return string
164
+	 */
165
+	public function getFontColor()
166
+	{
167
+		return $this->fontColor;
168
+	}
169
+
170
+	/**
171
+	 * @param string $fontColor
172
+	 *
173
+	 * @return $this
174
+	 */
175
+	public function setFontColor($fontColor)
176
+	{
177
+		$this->fontColor = strval($fontColor);
178
+
179
+		return $this;
180
+	}
181
+
182
+	/**
183
+	 * @return string
184
+	 */
185
+	public function getFontStyle()
186
+	{
187
+		return $this->fontStyle;
188
+	}
189
+
190
+	/**
191
+	 * @param string $fontStyle
192
+	 *
193
+	 * @return $this
194
+	 */
195
+	public function setFontStyle($fontStyle)
196
+	{
197
+		$this->fontStyle = strval($fontStyle);
198
+
199
+		return $this;
200
+	}
201
+
202
+	/**
203
+	 * @return int
204
+	 */
205
+	public function getPadding()
206
+	{
207
+		return $this->padding;
208
+	}
209
+
210
+	/**
211
+	 * @param int $padding
212
+	 *
213
+	 * @return $this
214
+	 */
215
+	public function setPadding($padding)
216
+	{
217
+		$this->padding = intval($padding);
218
+
219
+		return $this;
220
+	}
221
+
222
+	/**
223
+	 * @return string
224
+	 */
225
+	public function getText()
226
+	{
227
+		return $this->text;
228
+	}
229
+
230
+	/**
231
+	 * @param string $text
232
+	 *
233
+	 * @return $this
234
+	 */
235
+	public function setText($text)
236
+	{
237
+		$this->text = strval($text);
238
+
239
+		return $this;
240
+	}
241
+
242
+	/**
243
+	 * @return string
244
+	 */
245
+	public function jsonSerialize()
246
+	{
247
+		return Json::encode($this->getArrayCopy());
248
+	}
249 249
 }
Please login to merge, or discard this patch.
src/DataSet/RadarDataSet.php 1 patch
Indentation   +399 added lines, -399 removed lines patch added patch discarded remove patch
@@ -10,403 +10,403 @@
 block discarded – undo
10 10
  */
11 11
 class RadarDataSet extends DataSet
12 12
 {
13
-    /**
14
-     * @var bool
15
-     */
16
-    protected $fill;
17
-
18
-    /**
19
-     * @var float
20
-     */
21
-    protected $lineTension;
22
-
23
-    /**
24
-     * @var string
25
-     */
26
-    protected $borderCapStyle;
27
-
28
-    /**
29
-     * @var int[]
30
-     */
31
-    protected $borderDash;
32
-
33
-    /**
34
-     * @var int
35
-     */
36
-    protected $borderDashOffset;
37
-
38
-    /**
39
-     * @var string
40
-     */
41
-    protected $borderJoinStyle;
42
-
43
-    /**
44
-     * @var string|string[]
45
-     */
46
-    protected $pointBorderColor;
47
-
48
-    /**
49
-     * @var string|string[]
50
-     */
51
-    protected $pointBackgroundColor;
52
-
53
-    /**
54
-     * @var int|int[]
55
-     */
56
-    protected $pointBorderWidth;
57
-
58
-    /**
59
-     * @var int|int[]
60
-     */
61
-    protected $pointRadius;
62
-
63
-    /**
64
-     * @var int|int[]
65
-     */
66
-    protected $pointHoverRadius;
67
-
68
-    /**
69
-     * @var int|int[]
70
-     */
71
-    protected $hitRadius;
72
-
73
-    /**
74
-     * @var string|string[]
75
-     */
76
-    protected $pointHoverBackgroundColor;
77
-
78
-    /**
79
-     * @var string|string[]
80
-     */
81
-    protected $pointHoverBorderColor;
82
-
83
-    /**
84
-     * @var int|int[]
85
-     */
86
-    protected $pointHoverBorderWidth;
87
-
88
-    /**
89
-     * @var string|string[]
90
-     */
91
-    protected $pointStyle;
92
-
93
-    /**
94
-     * @return bool
95
-     */
96
-    public function isFill()
97
-    {
98
-        return $this->fill;
99
-    }
100
-
101
-    /**
102
-     * @param bool $fill
103
-     *
104
-     * @return $this
105
-     */
106
-    public function setFill($fill)
107
-    {
108
-        $this->fill = $fill;
109
-
110
-        return $this;
111
-    }
112
-
113
-    /**
114
-     * @return int
115
-     */
116
-    public function getLineTension()
117
-    {
118
-        return $this->lineTension;
119
-    }
120
-
121
-    /**
122
-     * @param float $lineTension
123
-     *
124
-     * @return $this
125
-     */
126
-    public function setLineTension($lineTension)
127
-    {
128
-        $this->lineTension = $lineTension;
129
-
130
-        return $this;
131
-    }
132
-
133
-    /**
134
-     * @return string
135
-     */
136
-    public function getBorderCapStyle()
137
-    {
138
-        return $this->borderCapStyle;
139
-    }
140
-
141
-    /**
142
-     * @param string $borderCapStyle
143
-     *
144
-     * @return $this
145
-     */
146
-    public function setBorderCapStyle($borderCapStyle)
147
-    {
148
-        $this->borderCapStyle = $borderCapStyle;
149
-
150
-        return $this;
151
-    }
152
-
153
-    /**
154
-     * @return int[]
155
-     */
156
-    public function getBorderDash()
157
-    {
158
-        return $this->borderDash;
159
-    }
160
-
161
-    /**
162
-     * @param int[] $borderDash
163
-     *
164
-     * @return $this
165
-     */
166
-    public function setBorderDash($borderDash)
167
-    {
168
-        $this->borderDash = $borderDash;
169
-
170
-        return $this;
171
-    }
172
-
173
-    /**
174
-     * @return int
175
-     */
176
-    public function getBorderDashOffset()
177
-    {
178
-        return $this->borderDashOffset;
179
-    }
180
-
181
-    /**
182
-     * @param int $borderDashOffset
183
-     *
184
-     * @return $this
185
-     */
186
-    public function setBorderDashOffset($borderDashOffset)
187
-    {
188
-        $this->borderDashOffset = $borderDashOffset;
189
-
190
-        return $this;
191
-    }
192
-
193
-    /**
194
-     * @return string
195
-     */
196
-    public function getBorderJoinStyle()
197
-    {
198
-        return $this->borderJoinStyle;
199
-    }
200
-
201
-    /**
202
-     * @param string $borderJoinStyle
203
-     *
204
-     * @return $this
205
-     */
206
-    public function setBorderJoinStyle($borderJoinStyle)
207
-    {
208
-        $this->borderJoinStyle = $borderJoinStyle;
209
-
210
-        return $this;
211
-    }
212
-
213
-    /**
214
-     * @return string|string[]
215
-     */
216
-    public function getPointBorderColor()
217
-    {
218
-        return $this->pointBorderColor;
219
-    }
220
-
221
-    /**
222
-     * @param string|string[] $pointBorderColor
223
-     *
224
-     * @return $this
225
-     */
226
-    public function setPointBorderColor($pointBorderColor)
227
-    {
228
-        $this->pointBorderColor = $pointBorderColor;
229
-
230
-        return $this;
231
-    }
232
-
233
-    /**
234
-     * @return string|string[]
235
-     */
236
-    public function getPointBackgroundColor()
237
-    {
238
-        return $this->pointBackgroundColor;
239
-    }
240
-
241
-    /**
242
-     * @param string|string[] $pointBackgroundColor
243
-     *
244
-     * @return $this
245
-     */
246
-    public function setPointBackgroundColor($pointBackgroundColor)
247
-    {
248
-        $this->pointBackgroundColor = $pointBackgroundColor;
249
-
250
-        return $this;
251
-    }
252
-
253
-    /**
254
-     * @return int|int[]
255
-     */
256
-    public function getPointBorderWidth()
257
-    {
258
-        return $this->pointBorderWidth;
259
-    }
260
-
261
-    /**
262
-     * @param int|int[] $pointBorderWidth
263
-     *
264
-     * @return $this
265
-     */
266
-    public function setPointBorderWidth($pointBorderWidth)
267
-    {
268
-        $this->pointBorderWidth = $pointBorderWidth;
269
-
270
-        return $this;
271
-    }
272
-
273
-    /**
274
-     * @return int|int[]
275
-     */
276
-    public function getPointRadius()
277
-    {
278
-        return $this->pointRadius;
279
-    }
280
-
281
-    /**
282
-     * @param int|int[] $pointRadius
283
-     *
284
-     * @return $this
285
-     */
286
-    public function setPointRadius($pointRadius)
287
-    {
288
-        $this->pointRadius = $pointRadius;
289
-
290
-        return $this;
291
-    }
292
-
293
-    /**
294
-     * @return int|int[]
295
-     */
296
-    public function getPointHoverRadius()
297
-    {
298
-        return $this->pointHoverRadius;
299
-    }
300
-
301
-    /**
302
-     * @param int|int[] $pointHoverRadius
303
-     *
304
-     * @return $this
305
-     */
306
-    public function setPointHoverRadius($pointHoverRadius)
307
-    {
308
-        $this->pointHoverRadius = $pointHoverRadius;
309
-
310
-        return $this;
311
-    }
312
-
313
-    /**
314
-     * @return int|int[]
315
-     */
316
-    public function getHitRadius()
317
-    {
318
-        return $this->hitRadius;
319
-    }
320
-
321
-    /**
322
-     * @param int|int[] $hitRadius
323
-     *
324
-     * @return $this
325
-     */
326
-    public function setHitRadius($hitRadius)
327
-    {
328
-        $this->hitRadius = $hitRadius;
329
-
330
-        return $this;
331
-    }
332
-
333
-    /**
334
-     * @return string|string[]
335
-     */
336
-    public function getPointHoverBackgroundColor()
337
-    {
338
-        return $this->pointHoverBackgroundColor;
339
-    }
340
-
341
-    /**
342
-     * @param string|string[] $pointHoverBackgroundColor
343
-     *
344
-     * @return $this
345
-     */
346
-    public function setPointHoverBackgroundColor($pointHoverBackgroundColor)
347
-    {
348
-        $this->pointHoverBackgroundColor = $pointHoverBackgroundColor;
349
-
350
-        return $this;
351
-    }
352
-
353
-    /**
354
-     * @return string|string[]
355
-     */
356
-    public function getPointHoverBorderColor()
357
-    {
358
-        return $this->pointHoverBorderColor;
359
-    }
360
-
361
-    /**
362
-     * @param string|string[] $pointHoverBorderColor
363
-     *
364
-     * @return $this
365
-     */
366
-    public function setPointHoverBorderColor($pointHoverBorderColor)
367
-    {
368
-        $this->pointHoverBorderColor = $pointHoverBorderColor;
369
-
370
-        return $this;
371
-    }
372
-
373
-    /**
374
-     * @return int|int[]
375
-     */
376
-    public function getPointHoverBorderWidth()
377
-    {
378
-        return $this->pointHoverBorderWidth;
379
-    }
380
-
381
-    /**
382
-     * @param int|int[] $pointHoverBorderWidth
383
-     *
384
-     * @return $this
385
-     */
386
-    public function setPointHoverBorderWidth($pointHoverBorderWidth)
387
-    {
388
-        $this->pointHoverBorderWidth = $pointHoverBorderWidth;
389
-
390
-        return $this;
391
-    }
392
-
393
-    /**
394
-     * @return string|string[]
395
-     */
396
-    public function getPointStyle()
397
-    {
398
-        return $this->pointStyle;
399
-    }
400
-
401
-    /**
402
-     * @param string|string[] $pointStyle
403
-     *
404
-     * @return $this
405
-     */
406
-    public function setPointStyle($pointStyle)
407
-    {
408
-        $this->pointStyle = $pointStyle;
409
-
410
-        return $this;
411
-    }
13
+	/**
14
+	 * @var bool
15
+	 */
16
+	protected $fill;
17
+
18
+	/**
19
+	 * @var float
20
+	 */
21
+	protected $lineTension;
22
+
23
+	/**
24
+	 * @var string
25
+	 */
26
+	protected $borderCapStyle;
27
+
28
+	/**
29
+	 * @var int[]
30
+	 */
31
+	protected $borderDash;
32
+
33
+	/**
34
+	 * @var int
35
+	 */
36
+	protected $borderDashOffset;
37
+
38
+	/**
39
+	 * @var string
40
+	 */
41
+	protected $borderJoinStyle;
42
+
43
+	/**
44
+	 * @var string|string[]
45
+	 */
46
+	protected $pointBorderColor;
47
+
48
+	/**
49
+	 * @var string|string[]
50
+	 */
51
+	protected $pointBackgroundColor;
52
+
53
+	/**
54
+	 * @var int|int[]
55
+	 */
56
+	protected $pointBorderWidth;
57
+
58
+	/**
59
+	 * @var int|int[]
60
+	 */
61
+	protected $pointRadius;
62
+
63
+	/**
64
+	 * @var int|int[]
65
+	 */
66
+	protected $pointHoverRadius;
67
+
68
+	/**
69
+	 * @var int|int[]
70
+	 */
71
+	protected $hitRadius;
72
+
73
+	/**
74
+	 * @var string|string[]
75
+	 */
76
+	protected $pointHoverBackgroundColor;
77
+
78
+	/**
79
+	 * @var string|string[]
80
+	 */
81
+	protected $pointHoverBorderColor;
82
+
83
+	/**
84
+	 * @var int|int[]
85
+	 */
86
+	protected $pointHoverBorderWidth;
87
+
88
+	/**
89
+	 * @var string|string[]
90
+	 */
91
+	protected $pointStyle;
92
+
93
+	/**
94
+	 * @return bool
95
+	 */
96
+	public function isFill()
97
+	{
98
+		return $this->fill;
99
+	}
100
+
101
+	/**
102
+	 * @param bool $fill
103
+	 *
104
+	 * @return $this
105
+	 */
106
+	public function setFill($fill)
107
+	{
108
+		$this->fill = $fill;
109
+
110
+		return $this;
111
+	}
112
+
113
+	/**
114
+	 * @return int
115
+	 */
116
+	public function getLineTension()
117
+	{
118
+		return $this->lineTension;
119
+	}
120
+
121
+	/**
122
+	 * @param float $lineTension
123
+	 *
124
+	 * @return $this
125
+	 */
126
+	public function setLineTension($lineTension)
127
+	{
128
+		$this->lineTension = $lineTension;
129
+
130
+		return $this;
131
+	}
132
+
133
+	/**
134
+	 * @return string
135
+	 */
136
+	public function getBorderCapStyle()
137
+	{
138
+		return $this->borderCapStyle;
139
+	}
140
+
141
+	/**
142
+	 * @param string $borderCapStyle
143
+	 *
144
+	 * @return $this
145
+	 */
146
+	public function setBorderCapStyle($borderCapStyle)
147
+	{
148
+		$this->borderCapStyle = $borderCapStyle;
149
+
150
+		return $this;
151
+	}
152
+
153
+	/**
154
+	 * @return int[]
155
+	 */
156
+	public function getBorderDash()
157
+	{
158
+		return $this->borderDash;
159
+	}
160
+
161
+	/**
162
+	 * @param int[] $borderDash
163
+	 *
164
+	 * @return $this
165
+	 */
166
+	public function setBorderDash($borderDash)
167
+	{
168
+		$this->borderDash = $borderDash;
169
+
170
+		return $this;
171
+	}
172
+
173
+	/**
174
+	 * @return int
175
+	 */
176
+	public function getBorderDashOffset()
177
+	{
178
+		return $this->borderDashOffset;
179
+	}
180
+
181
+	/**
182
+	 * @param int $borderDashOffset
183
+	 *
184
+	 * @return $this
185
+	 */
186
+	public function setBorderDashOffset($borderDashOffset)
187
+	{
188
+		$this->borderDashOffset = $borderDashOffset;
189
+
190
+		return $this;
191
+	}
192
+
193
+	/**
194
+	 * @return string
195
+	 */
196
+	public function getBorderJoinStyle()
197
+	{
198
+		return $this->borderJoinStyle;
199
+	}
200
+
201
+	/**
202
+	 * @param string $borderJoinStyle
203
+	 *
204
+	 * @return $this
205
+	 */
206
+	public function setBorderJoinStyle($borderJoinStyle)
207
+	{
208
+		$this->borderJoinStyle = $borderJoinStyle;
209
+
210
+		return $this;
211
+	}
212
+
213
+	/**
214
+	 * @return string|string[]
215
+	 */
216
+	public function getPointBorderColor()
217
+	{
218
+		return $this->pointBorderColor;
219
+	}
220
+
221
+	/**
222
+	 * @param string|string[] $pointBorderColor
223
+	 *
224
+	 * @return $this
225
+	 */
226
+	public function setPointBorderColor($pointBorderColor)
227
+	{
228
+		$this->pointBorderColor = $pointBorderColor;
229
+
230
+		return $this;
231
+	}
232
+
233
+	/**
234
+	 * @return string|string[]
235
+	 */
236
+	public function getPointBackgroundColor()
237
+	{
238
+		return $this->pointBackgroundColor;
239
+	}
240
+
241
+	/**
242
+	 * @param string|string[] $pointBackgroundColor
243
+	 *
244
+	 * @return $this
245
+	 */
246
+	public function setPointBackgroundColor($pointBackgroundColor)
247
+	{
248
+		$this->pointBackgroundColor = $pointBackgroundColor;
249
+
250
+		return $this;
251
+	}
252
+
253
+	/**
254
+	 * @return int|int[]
255
+	 */
256
+	public function getPointBorderWidth()
257
+	{
258
+		return $this->pointBorderWidth;
259
+	}
260
+
261
+	/**
262
+	 * @param int|int[] $pointBorderWidth
263
+	 *
264
+	 * @return $this
265
+	 */
266
+	public function setPointBorderWidth($pointBorderWidth)
267
+	{
268
+		$this->pointBorderWidth = $pointBorderWidth;
269
+
270
+		return $this;
271
+	}
272
+
273
+	/**
274
+	 * @return int|int[]
275
+	 */
276
+	public function getPointRadius()
277
+	{
278
+		return $this->pointRadius;
279
+	}
280
+
281
+	/**
282
+	 * @param int|int[] $pointRadius
283
+	 *
284
+	 * @return $this
285
+	 */
286
+	public function setPointRadius($pointRadius)
287
+	{
288
+		$this->pointRadius = $pointRadius;
289
+
290
+		return $this;
291
+	}
292
+
293
+	/**
294
+	 * @return int|int[]
295
+	 */
296
+	public function getPointHoverRadius()
297
+	{
298
+		return $this->pointHoverRadius;
299
+	}
300
+
301
+	/**
302
+	 * @param int|int[] $pointHoverRadius
303
+	 *
304
+	 * @return $this
305
+	 */
306
+	public function setPointHoverRadius($pointHoverRadius)
307
+	{
308
+		$this->pointHoverRadius = $pointHoverRadius;
309
+
310
+		return $this;
311
+	}
312
+
313
+	/**
314
+	 * @return int|int[]
315
+	 */
316
+	public function getHitRadius()
317
+	{
318
+		return $this->hitRadius;
319
+	}
320
+
321
+	/**
322
+	 * @param int|int[] $hitRadius
323
+	 *
324
+	 * @return $this
325
+	 */
326
+	public function setHitRadius($hitRadius)
327
+	{
328
+		$this->hitRadius = $hitRadius;
329
+
330
+		return $this;
331
+	}
332
+
333
+	/**
334
+	 * @return string|string[]
335
+	 */
336
+	public function getPointHoverBackgroundColor()
337
+	{
338
+		return $this->pointHoverBackgroundColor;
339
+	}
340
+
341
+	/**
342
+	 * @param string|string[] $pointHoverBackgroundColor
343
+	 *
344
+	 * @return $this
345
+	 */
346
+	public function setPointHoverBackgroundColor($pointHoverBackgroundColor)
347
+	{
348
+		$this->pointHoverBackgroundColor = $pointHoverBackgroundColor;
349
+
350
+		return $this;
351
+	}
352
+
353
+	/**
354
+	 * @return string|string[]
355
+	 */
356
+	public function getPointHoverBorderColor()
357
+	{
358
+		return $this->pointHoverBorderColor;
359
+	}
360
+
361
+	/**
362
+	 * @param string|string[] $pointHoverBorderColor
363
+	 *
364
+	 * @return $this
365
+	 */
366
+	public function setPointHoverBorderColor($pointHoverBorderColor)
367
+	{
368
+		$this->pointHoverBorderColor = $pointHoverBorderColor;
369
+
370
+		return $this;
371
+	}
372
+
373
+	/**
374
+	 * @return int|int[]
375
+	 */
376
+	public function getPointHoverBorderWidth()
377
+	{
378
+		return $this->pointHoverBorderWidth;
379
+	}
380
+
381
+	/**
382
+	 * @param int|int[] $pointHoverBorderWidth
383
+	 *
384
+	 * @return $this
385
+	 */
386
+	public function setPointHoverBorderWidth($pointHoverBorderWidth)
387
+	{
388
+		$this->pointHoverBorderWidth = $pointHoverBorderWidth;
389
+
390
+		return $this;
391
+	}
392
+
393
+	/**
394
+	 * @return string|string[]
395
+	 */
396
+	public function getPointStyle()
397
+	{
398
+		return $this->pointStyle;
399
+	}
400
+
401
+	/**
402
+	 * @param string|string[] $pointStyle
403
+	 *
404
+	 * @return $this
405
+	 */
406
+	public function setPointStyle($pointStyle)
407
+	{
408
+		$this->pointStyle = $pointStyle;
409
+
410
+		return $this;
411
+	}
412 412
 }
Please login to merge, or discard this patch.
src/DataSet/LineDataSet.php 1 patch
Indentation   +499 added lines, -499 removed lines patch added patch discarded remove patch
@@ -10,503 +10,503 @@
 block discarded – undo
10 10
  */
11 11
 class LineDataSet extends DataSet
12 12
 {
13
-    /**
14
-     * @var bool|string
15
-     */
16
-    protected $fill;
17
-
18
-    /**
19
-     * @var string
20
-     */
21
-    protected $cubicInterpolationMode;
22
-
23
-    /**
24
-     * @var int
25
-     */
26
-    protected $lineTension;
27
-
28
-    /**
29
-     * @var string
30
-     */
31
-    protected $borderCapStyle;
32
-
33
-    /**
34
-     * @var array
35
-     */
36
-    protected $borderDash;
37
-
38
-    /**
39
-     * @var float
40
-     */
41
-    protected $borderDashOffset;
42
-
43
-    /**
44
-     * @var string
45
-     */
46
-    protected $borderJoinStyle;
47
-
48
-    /**
49
-     * @var string|string[]
50
-     */
51
-    protected $pointBorderColor;
52
-
53
-    /**
54
-     * @var string|string[]
55
-     */
56
-    protected $pointBackgroundColor;
57
-
58
-    /**
59
-     * @var int|int[]
60
-     */
61
-    protected $pointBorderWidth;
62
-
63
-    /**
64
-     * @var int|int[]
65
-     */
66
-    protected $pointRadius;
67
-
68
-    /**
69
-     * @var int|int[]
70
-     */
71
-    protected $pointHoverRadius;
72
-
73
-    /**
74
-     * @var int|int[]
75
-     */
76
-    protected $pointHitRadius;
77
-
78
-    /**
79
-     * @var string|string[]
80
-     */
81
-    protected $pointHoverBackgroundColor;
82
-
83
-    /**
84
-     * @var string|string[]
85
-     */
86
-    protected $pointHoverBorderColor;
87
-
88
-    /**
89
-     * @var int|int[]
90
-     */
91
-    protected $pointHoverBorderWidth;
92
-
93
-    /**
94
-     * @var mixed
95
-     */
96
-    protected $pointStyle;
97
-
98
-    /**
99
-     * @var bool
100
-     */
101
-    protected $showLine;
102
-
103
-    /**
104
-     * @var bool
105
-     */
106
-    protected $spanGaps;
107
-
108
-    /**
109
-     * @var bool
110
-     */
111
-    protected $steppedLine;
112
-
113
-    /**
114
-     * @return bool|string
115
-     */
116
-    public function getFill()
117
-    {
118
-        return $this->fill;
119
-    }
120
-
121
-    /**
122
-     * @param bool|string $fill
123
-     *
124
-     * @return $this
125
-     */
126
-    public function setFill($fill)
127
-    {
128
-        $this->fill = $fill;
129
-
130
-        return $this;
131
-    }
132
-
133
-    /**
134
-     * @return string
135
-     */
136
-    public function getCubicInterpolationMode()
137
-    {
138
-        return $this->cubicInterpolationMode;
139
-    }
140
-
141
-    /**
142
-     * @param string $cubicInterpolationMode
143
-     *
144
-     * @return $this
145
-     */
146
-    public function setCubicInterpolationMode($cubicInterpolationMode)
147
-    {
148
-        $this->cubicInterpolationMode = $cubicInterpolationMode;
149
-
150
-        return $this;
151
-    }
152
-
153
-    /**
154
-     * @return int
155
-     */
156
-    public function getLineTension()
157
-    {
158
-        return $this->lineTension;
159
-    }
160
-
161
-    /**
162
-     * @param float $lineTension
163
-     *
164
-     * @return $this
165
-     */
166
-    public function setLineTension($lineTension)
167
-    {
168
-        $this->lineTension = floatval($lineTension);
169
-
170
-        return $this;
171
-    }
172
-
173
-    /**
174
-     * @return string
175
-     */
176
-    public function getBorderCapStyle()
177
-    {
178
-        return $this->borderCapStyle;
179
-    }
180
-
181
-    /**
182
-     * @param string $borderCapStyle
183
-     *
184
-     * @return $this
185
-     */
186
-    public function setBorderCapStyle($borderCapStyle)
187
-    {
188
-        $this->borderCapStyle = $borderCapStyle;
189
-
190
-        return $this;
191
-    }
192
-
193
-    /**
194
-     * @return array
195
-     */
196
-    public function getBorderDash()
197
-    {
198
-        return $this->borderDash;
199
-    }
200
-
201
-    /**
202
-     * @param array $borderDash
203
-     *
204
-     * @return $this
205
-     */
206
-    public function setBorderDash($borderDash)
207
-    {
208
-        $this->borderDash = $borderDash;
209
-
210
-        return $this;
211
-    }
212
-
213
-    /**
214
-     * @return int
215
-     */
216
-    public function getBorderDashOffset()
217
-    {
218
-        return $this->borderDashOffset;
219
-    }
220
-
221
-    /**
222
-     * @param float $borderDashOffset
223
-     *
224
-     * @return $this
225
-     */
226
-    public function setBorderDashOffset($borderDashOffset)
227
-    {
228
-        $this->borderDashOffset = floatval($borderDashOffset);
229
-
230
-        return $this;
231
-    }
232
-
233
-    /**
234
-     * @return string
235
-     */
236
-    public function getBorderJoinStyle()
237
-    {
238
-        return $this->borderJoinStyle;
239
-    }
240
-
241
-    /**
242
-     * @param string $borderJoinStyle
243
-     *
244
-     * @return $this
245
-     */
246
-    public function setBorderJoinStyle($borderJoinStyle)
247
-    {
248
-        $this->borderJoinStyle = $borderJoinStyle;
249
-
250
-        return $this;
251
-    }
252
-
253
-    /**
254
-     * @return string|string[]
255
-     */
256
-    public function getPointBorderColor()
257
-    {
258
-        return $this->pointBorderColor;
259
-    }
260
-
261
-    /**
262
-     * @param string|string[] $pointBorderColor
263
-     *
264
-     * @return $this
265
-     */
266
-    public function setPointBorderColor($pointBorderColor)
267
-    {
268
-        $this->pointBorderColor = $pointBorderColor;
269
-
270
-        return $this;
271
-    }
272
-
273
-    /**
274
-     * @return string|string[]
275
-     */
276
-    public function getPointBackgroundColor()
277
-    {
278
-        return $this->pointBackgroundColor;
279
-    }
280
-
281
-    /**
282
-     * @param string|string[] $pointBackgroundColor
283
-     *
284
-     * @return $this
285
-     */
286
-    public function setPointBackgroundColor($pointBackgroundColor)
287
-    {
288
-        $this->pointBackgroundColor = $pointBackgroundColor;
289
-
290
-        return $this;
291
-    }
292
-
293
-    /**
294
-     * @return int|int[]
295
-     */
296
-    public function getPointBorderWidth()
297
-    {
298
-        return $this->pointBorderWidth;
299
-    }
300
-
301
-    /**
302
-     * @param int|int[] $pointBorderWidth
303
-     *
304
-     * @return $this
305
-     */
306
-    public function setPointBorderWidth($pointBorderWidth)
307
-    {
308
-        $this->pointBorderWidth = $pointBorderWidth;
309
-
310
-        return $this;
311
-    }
312
-
313
-    /**
314
-     * @return int|int[]
315
-     */
316
-    public function getPointRadius()
317
-    {
318
-        return $this->pointRadius;
319
-    }
320
-
321
-    /**
322
-     * @param int|int[] $pointRadius
323
-     *
324
-     * @return $this
325
-     */
326
-    public function setPointRadius($pointRadius)
327
-    {
328
-        $this->pointRadius = $pointRadius;
329
-
330
-        return $this;
331
-    }
332
-
333
-    /**
334
-     * @return int|int[]
335
-     */
336
-    public function getPointHoverRadius()
337
-    {
338
-        return $this->pointHoverRadius;
339
-    }
340
-
341
-    /**
342
-     * @param int|int[] $pointHoverRadius
343
-     *
344
-     * @return $this
345
-     */
346
-    public function setPointHoverRadius($pointHoverRadius)
347
-    {
348
-        $this->pointHoverRadius = $pointHoverRadius;
349
-
350
-        return $this;
351
-    }
352
-
353
-    /**
354
-     * @return int|int[]
355
-     */
356
-    public function getPointHitRadius()
357
-    {
358
-        return $this->pointHitRadius;
359
-    }
360
-
361
-    /**
362
-     * @param int|int[] $pointHitRadius
363
-     *
364
-     * @return $this
365
-     */
366
-    public function setPointHitRadius($pointHitRadius)
367
-    {
368
-        $this->pointHitRadius = $pointHitRadius;
369
-
370
-        return $this;
371
-    }
372
-
373
-    /**
374
-     * @return string|string[]
375
-     */
376
-    public function getPointHoverBackgroundColor()
377
-    {
378
-        return $this->pointHoverBackgroundColor;
379
-    }
380
-
381
-    /**
382
-     * @param string|string[] $pointHoverBackgroundColor
383
-     *
384
-     * @return $this
385
-     */
386
-    public function setPointHoverBackgroundColor($pointHoverBackgroundColor)
387
-    {
388
-        $this->pointHoverBackgroundColor = $pointHoverBackgroundColor;
389
-
390
-        return $this;
391
-    }
392
-
393
-    /**
394
-     * @return string|string[]
395
-     */
396
-    public function getPointHoverBorderColor()
397
-    {
398
-        return $this->pointHoverBorderColor;
399
-    }
400
-
401
-    /**
402
-     * @param string|string[] $pointHoverBorderColor
403
-     *
404
-     * @return $this
405
-     */
406
-    public function setPointHoverBorderColor($pointHoverBorderColor)
407
-    {
408
-        $this->pointHoverBorderColor = $pointHoverBorderColor;
409
-
410
-        return $this;
411
-    }
412
-
413
-    /**
414
-     * @return int|int[]
415
-     */
416
-    public function getPointHoverBorderWidth()
417
-    {
418
-        return $this->pointHoverBorderWidth;
419
-    }
420
-
421
-    /**
422
-     * @param int|int[] $pointHoverBorderWidth
423
-     *
424
-     * @return $this
425
-     */
426
-    public function setPointHoverBorderWidth($pointHoverBorderWidth)
427
-    {
428
-        $this->pointHoverBorderWidth = $pointHoverBorderWidth;
429
-
430
-        return $this;
431
-    }
432
-
433
-    /**
434
-     * @return mixed
435
-     */
436
-    public function getPointStyle()
437
-    {
438
-        return $this->pointStyle;
439
-    }
440
-
441
-    /**
442
-     * @param mixed $pointStyle
443
-     *
444
-     * @return $this
445
-     */
446
-    public function setPointStyle($pointStyle)
447
-    {
448
-        $this->pointStyle = $pointStyle;
449
-
450
-        return $this;
451
-    }
452
-
453
-    /**
454
-     * @return bool
455
-     */
456
-    public function isShowLine()
457
-    {
458
-        return $this->showLine;
459
-    }
460
-
461
-    /**
462
-     * @param bool $showLine
463
-     *
464
-     * @return $this
465
-     */
466
-    public function setShowLine($showLine)
467
-    {
468
-        $this->showLine = $showLine;
469
-
470
-        return $this;
471
-    }
472
-
473
-    /**
474
-     * @return bool
475
-     */
476
-    public function isSpanGaps()
477
-    {
478
-        return $this->spanGaps;
479
-    }
480
-
481
-    /**
482
-     * @param bool $spanGaps
483
-     *
484
-     * @return $this
485
-     */
486
-    public function setSpanGaps($spanGaps)
487
-    {
488
-        $this->spanGaps = $spanGaps;
489
-
490
-        return $this;
491
-    }
492
-
493
-    /**
494
-     * @return bool
495
-     */
496
-    public function isSteppedLine()
497
-    {
498
-        return $this->steppedLine;
499
-    }
500
-
501
-    /**
502
-     * @param bool $steppedLine
503
-     *
504
-     * @return $this
505
-     */
506
-    public function setSteppedLine($steppedLine)
507
-    {
508
-        $this->steppedLine = $steppedLine;
509
-
510
-        return $this;
511
-    }
13
+	/**
14
+	 * @var bool|string
15
+	 */
16
+	protected $fill;
17
+
18
+	/**
19
+	 * @var string
20
+	 */
21
+	protected $cubicInterpolationMode;
22
+
23
+	/**
24
+	 * @var int
25
+	 */
26
+	protected $lineTension;
27
+
28
+	/**
29
+	 * @var string
30
+	 */
31
+	protected $borderCapStyle;
32
+
33
+	/**
34
+	 * @var array
35
+	 */
36
+	protected $borderDash;
37
+
38
+	/**
39
+	 * @var float
40
+	 */
41
+	protected $borderDashOffset;
42
+
43
+	/**
44
+	 * @var string
45
+	 */
46
+	protected $borderJoinStyle;
47
+
48
+	/**
49
+	 * @var string|string[]
50
+	 */
51
+	protected $pointBorderColor;
52
+
53
+	/**
54
+	 * @var string|string[]
55
+	 */
56
+	protected $pointBackgroundColor;
57
+
58
+	/**
59
+	 * @var int|int[]
60
+	 */
61
+	protected $pointBorderWidth;
62
+
63
+	/**
64
+	 * @var int|int[]
65
+	 */
66
+	protected $pointRadius;
67
+
68
+	/**
69
+	 * @var int|int[]
70
+	 */
71
+	protected $pointHoverRadius;
72
+
73
+	/**
74
+	 * @var int|int[]
75
+	 */
76
+	protected $pointHitRadius;
77
+
78
+	/**
79
+	 * @var string|string[]
80
+	 */
81
+	protected $pointHoverBackgroundColor;
82
+
83
+	/**
84
+	 * @var string|string[]
85
+	 */
86
+	protected $pointHoverBorderColor;
87
+
88
+	/**
89
+	 * @var int|int[]
90
+	 */
91
+	protected $pointHoverBorderWidth;
92
+
93
+	/**
94
+	 * @var mixed
95
+	 */
96
+	protected $pointStyle;
97
+
98
+	/**
99
+	 * @var bool
100
+	 */
101
+	protected $showLine;
102
+
103
+	/**
104
+	 * @var bool
105
+	 */
106
+	protected $spanGaps;
107
+
108
+	/**
109
+	 * @var bool
110
+	 */
111
+	protected $steppedLine;
112
+
113
+	/**
114
+	 * @return bool|string
115
+	 */
116
+	public function getFill()
117
+	{
118
+		return $this->fill;
119
+	}
120
+
121
+	/**
122
+	 * @param bool|string $fill
123
+	 *
124
+	 * @return $this
125
+	 */
126
+	public function setFill($fill)
127
+	{
128
+		$this->fill = $fill;
129
+
130
+		return $this;
131
+	}
132
+
133
+	/**
134
+	 * @return string
135
+	 */
136
+	public function getCubicInterpolationMode()
137
+	{
138
+		return $this->cubicInterpolationMode;
139
+	}
140
+
141
+	/**
142
+	 * @param string $cubicInterpolationMode
143
+	 *
144
+	 * @return $this
145
+	 */
146
+	public function setCubicInterpolationMode($cubicInterpolationMode)
147
+	{
148
+		$this->cubicInterpolationMode = $cubicInterpolationMode;
149
+
150
+		return $this;
151
+	}
152
+
153
+	/**
154
+	 * @return int
155
+	 */
156
+	public function getLineTension()
157
+	{
158
+		return $this->lineTension;
159
+	}
160
+
161
+	/**
162
+	 * @param float $lineTension
163
+	 *
164
+	 * @return $this
165
+	 */
166
+	public function setLineTension($lineTension)
167
+	{
168
+		$this->lineTension = floatval($lineTension);
169
+
170
+		return $this;
171
+	}
172
+
173
+	/**
174
+	 * @return string
175
+	 */
176
+	public function getBorderCapStyle()
177
+	{
178
+		return $this->borderCapStyle;
179
+	}
180
+
181
+	/**
182
+	 * @param string $borderCapStyle
183
+	 *
184
+	 * @return $this
185
+	 */
186
+	public function setBorderCapStyle($borderCapStyle)
187
+	{
188
+		$this->borderCapStyle = $borderCapStyle;
189
+
190
+		return $this;
191
+	}
192
+
193
+	/**
194
+	 * @return array
195
+	 */
196
+	public function getBorderDash()
197
+	{
198
+		return $this->borderDash;
199
+	}
200
+
201
+	/**
202
+	 * @param array $borderDash
203
+	 *
204
+	 * @return $this
205
+	 */
206
+	public function setBorderDash($borderDash)
207
+	{
208
+		$this->borderDash = $borderDash;
209
+
210
+		return $this;
211
+	}
212
+
213
+	/**
214
+	 * @return int
215
+	 */
216
+	public function getBorderDashOffset()
217
+	{
218
+		return $this->borderDashOffset;
219
+	}
220
+
221
+	/**
222
+	 * @param float $borderDashOffset
223
+	 *
224
+	 * @return $this
225
+	 */
226
+	public function setBorderDashOffset($borderDashOffset)
227
+	{
228
+		$this->borderDashOffset = floatval($borderDashOffset);
229
+
230
+		return $this;
231
+	}
232
+
233
+	/**
234
+	 * @return string
235
+	 */
236
+	public function getBorderJoinStyle()
237
+	{
238
+		return $this->borderJoinStyle;
239
+	}
240
+
241
+	/**
242
+	 * @param string $borderJoinStyle
243
+	 *
244
+	 * @return $this
245
+	 */
246
+	public function setBorderJoinStyle($borderJoinStyle)
247
+	{
248
+		$this->borderJoinStyle = $borderJoinStyle;
249
+
250
+		return $this;
251
+	}
252
+
253
+	/**
254
+	 * @return string|string[]
255
+	 */
256
+	public function getPointBorderColor()
257
+	{
258
+		return $this->pointBorderColor;
259
+	}
260
+
261
+	/**
262
+	 * @param string|string[] $pointBorderColor
263
+	 *
264
+	 * @return $this
265
+	 */
266
+	public function setPointBorderColor($pointBorderColor)
267
+	{
268
+		$this->pointBorderColor = $pointBorderColor;
269
+
270
+		return $this;
271
+	}
272
+
273
+	/**
274
+	 * @return string|string[]
275
+	 */
276
+	public function getPointBackgroundColor()
277
+	{
278
+		return $this->pointBackgroundColor;
279
+	}
280
+
281
+	/**
282
+	 * @param string|string[] $pointBackgroundColor
283
+	 *
284
+	 * @return $this
285
+	 */
286
+	public function setPointBackgroundColor($pointBackgroundColor)
287
+	{
288
+		$this->pointBackgroundColor = $pointBackgroundColor;
289
+
290
+		return $this;
291
+	}
292
+
293
+	/**
294
+	 * @return int|int[]
295
+	 */
296
+	public function getPointBorderWidth()
297
+	{
298
+		return $this->pointBorderWidth;
299
+	}
300
+
301
+	/**
302
+	 * @param int|int[] $pointBorderWidth
303
+	 *
304
+	 * @return $this
305
+	 */
306
+	public function setPointBorderWidth($pointBorderWidth)
307
+	{
308
+		$this->pointBorderWidth = $pointBorderWidth;
309
+
310
+		return $this;
311
+	}
312
+
313
+	/**
314
+	 * @return int|int[]
315
+	 */
316
+	public function getPointRadius()
317
+	{
318
+		return $this->pointRadius;
319
+	}
320
+
321
+	/**
322
+	 * @param int|int[] $pointRadius
323
+	 *
324
+	 * @return $this
325
+	 */
326
+	public function setPointRadius($pointRadius)
327
+	{
328
+		$this->pointRadius = $pointRadius;
329
+
330
+		return $this;
331
+	}
332
+
333
+	/**
334
+	 * @return int|int[]
335
+	 */
336
+	public function getPointHoverRadius()
337
+	{
338
+		return $this->pointHoverRadius;
339
+	}
340
+
341
+	/**
342
+	 * @param int|int[] $pointHoverRadius
343
+	 *
344
+	 * @return $this
345
+	 */
346
+	public function setPointHoverRadius($pointHoverRadius)
347
+	{
348
+		$this->pointHoverRadius = $pointHoverRadius;
349
+
350
+		return $this;
351
+	}
352
+
353
+	/**
354
+	 * @return int|int[]
355
+	 */
356
+	public function getPointHitRadius()
357
+	{
358
+		return $this->pointHitRadius;
359
+	}
360
+
361
+	/**
362
+	 * @param int|int[] $pointHitRadius
363
+	 *
364
+	 * @return $this
365
+	 */
366
+	public function setPointHitRadius($pointHitRadius)
367
+	{
368
+		$this->pointHitRadius = $pointHitRadius;
369
+
370
+		return $this;
371
+	}
372
+
373
+	/**
374
+	 * @return string|string[]
375
+	 */
376
+	public function getPointHoverBackgroundColor()
377
+	{
378
+		return $this->pointHoverBackgroundColor;
379
+	}
380
+
381
+	/**
382
+	 * @param string|string[] $pointHoverBackgroundColor
383
+	 *
384
+	 * @return $this
385
+	 */
386
+	public function setPointHoverBackgroundColor($pointHoverBackgroundColor)
387
+	{
388
+		$this->pointHoverBackgroundColor = $pointHoverBackgroundColor;
389
+
390
+		return $this;
391
+	}
392
+
393
+	/**
394
+	 * @return string|string[]
395
+	 */
396
+	public function getPointHoverBorderColor()
397
+	{
398
+		return $this->pointHoverBorderColor;
399
+	}
400
+
401
+	/**
402
+	 * @param string|string[] $pointHoverBorderColor
403
+	 *
404
+	 * @return $this
405
+	 */
406
+	public function setPointHoverBorderColor($pointHoverBorderColor)
407
+	{
408
+		$this->pointHoverBorderColor = $pointHoverBorderColor;
409
+
410
+		return $this;
411
+	}
412
+
413
+	/**
414
+	 * @return int|int[]
415
+	 */
416
+	public function getPointHoverBorderWidth()
417
+	{
418
+		return $this->pointHoverBorderWidth;
419
+	}
420
+
421
+	/**
422
+	 * @param int|int[] $pointHoverBorderWidth
423
+	 *
424
+	 * @return $this
425
+	 */
426
+	public function setPointHoverBorderWidth($pointHoverBorderWidth)
427
+	{
428
+		$this->pointHoverBorderWidth = $pointHoverBorderWidth;
429
+
430
+		return $this;
431
+	}
432
+
433
+	/**
434
+	 * @return mixed
435
+	 */
436
+	public function getPointStyle()
437
+	{
438
+		return $this->pointStyle;
439
+	}
440
+
441
+	/**
442
+	 * @param mixed $pointStyle
443
+	 *
444
+	 * @return $this
445
+	 */
446
+	public function setPointStyle($pointStyle)
447
+	{
448
+		$this->pointStyle = $pointStyle;
449
+
450
+		return $this;
451
+	}
452
+
453
+	/**
454
+	 * @return bool
455
+	 */
456
+	public function isShowLine()
457
+	{
458
+		return $this->showLine;
459
+	}
460
+
461
+	/**
462
+	 * @param bool $showLine
463
+	 *
464
+	 * @return $this
465
+	 */
466
+	public function setShowLine($showLine)
467
+	{
468
+		$this->showLine = $showLine;
469
+
470
+		return $this;
471
+	}
472
+
473
+	/**
474
+	 * @return bool
475
+	 */
476
+	public function isSpanGaps()
477
+	{
478
+		return $this->spanGaps;
479
+	}
480
+
481
+	/**
482
+	 * @param bool $spanGaps
483
+	 *
484
+	 * @return $this
485
+	 */
486
+	public function setSpanGaps($spanGaps)
487
+	{
488
+		$this->spanGaps = $spanGaps;
489
+
490
+		return $this;
491
+	}
492
+
493
+	/**
494
+	 * @return bool
495
+	 */
496
+	public function isSteppedLine()
497
+	{
498
+		return $this->steppedLine;
499
+	}
500
+
501
+	/**
502
+	 * @param bool $steppedLine
503
+	 *
504
+	 * @return $this
505
+	 */
506
+	public function setSteppedLine($steppedLine)
507
+	{
508
+		$this->steppedLine = $steppedLine;
509
+
510
+		return $this;
511
+	}
512 512
 }
Please login to merge, or discard this patch.
src/Options/Elements.php 1 patch
Indentation   +111 added lines, -111 removed lines patch added patch discarded remove patch
@@ -17,115 +17,115 @@
 block discarded – undo
17 17
  */
18 18
 class Elements implements ArraySerializableInterface, \JsonSerializable
19 19
 {
20
-    use ArraySerializable;
21
-
22
-    /**
23
-     * @var Rectangle
24
-     */
25
-    private $rectangle;
26
-
27
-    /**
28
-     * @var Line
29
-     */
30
-    private $line;
31
-
32
-    /**
33
-     * @var Point
34
-     */
35
-    private $point;
36
-
37
-    /**
38
-     * @var Arc
39
-     */
40
-    private $arc;
41
-
42
-    /**
43
-     * @return Rectangle
44
-     */
45
-    public function getRectangle()
46
-    {
47
-        return $this->rectangle;
48
-    }
49
-
50
-    /**
51
-     * @return Rectangle
52
-     */
53
-    public function rectangle()
54
-    {
55
-        if (is_null($this->rectangle)) {
56
-            $this->rectangle = new Rectangle();
57
-        }
58
-
59
-        return $this->rectangle;
60
-    }
61
-
62
-    /**
63
-     * @return Line
64
-     */
65
-    public function getLine()
66
-    {
67
-        return $this->line;
68
-    }
69
-
70
-    /**
71
-     * @return Line
72
-     */
73
-    public function line()
74
-    {
75
-        if (is_null($this->line)) {
76
-            $this->line = new Line();
77
-        }
78
-
79
-        return $this->line;
80
-    }
81
-
82
-    /**
83
-     * @return Point
84
-     */
85
-    public function getPoint()
86
-    {
87
-        return $this->point;
88
-    }
89
-
90
-    /**
91
-     * @return Point
92
-     */
93
-    public function point()
94
-    {
95
-        if (is_null($this->point)) {
96
-            $this->point = new Point();
97
-        }
98
-
99
-        return $this->point;
100
-    }
101
-
102
-    /**
103
-     * @return Arc
104
-     */
105
-    public function getArc()
106
-    {
107
-        return $this->arc;
108
-    }
109
-
110
-    /**
111
-     * @return Arc
112
-     */
113
-    public function arc()
114
-    {
115
-        if (is_null($this->arc)) {
116
-            $this->arc = new Arc();
117
-        }
118
-
119
-        return $this->arc;
120
-    }
121
-
122
-    /**
123
-     * @return string
124
-     * @throws \ReflectionException
125
-     * @throws \Zend_Reflection_Exception
126
-     */
127
-    public function jsonSerialize()
128
-    {
129
-        return Json::encode($this->getArrayCopy());
130
-    }
20
+	use ArraySerializable;
21
+
22
+	/**
23
+	 * @var Rectangle
24
+	 */
25
+	private $rectangle;
26
+
27
+	/**
28
+	 * @var Line
29
+	 */
30
+	private $line;
31
+
32
+	/**
33
+	 * @var Point
34
+	 */
35
+	private $point;
36
+
37
+	/**
38
+	 * @var Arc
39
+	 */
40
+	private $arc;
41
+
42
+	/**
43
+	 * @return Rectangle
44
+	 */
45
+	public function getRectangle()
46
+	{
47
+		return $this->rectangle;
48
+	}
49
+
50
+	/**
51
+	 * @return Rectangle
52
+	 */
53
+	public function rectangle()
54
+	{
55
+		if (is_null($this->rectangle)) {
56
+			$this->rectangle = new Rectangle();
57
+		}
58
+
59
+		return $this->rectangle;
60
+	}
61
+
62
+	/**
63
+	 * @return Line
64
+	 */
65
+	public function getLine()
66
+	{
67
+		return $this->line;
68
+	}
69
+
70
+	/**
71
+	 * @return Line
72
+	 */
73
+	public function line()
74
+	{
75
+		if (is_null($this->line)) {
76
+			$this->line = new Line();
77
+		}
78
+
79
+		return $this->line;
80
+	}
81
+
82
+	/**
83
+	 * @return Point
84
+	 */
85
+	public function getPoint()
86
+	{
87
+		return $this->point;
88
+	}
89
+
90
+	/**
91
+	 * @return Point
92
+	 */
93
+	public function point()
94
+	{
95
+		if (is_null($this->point)) {
96
+			$this->point = new Point();
97
+		}
98
+
99
+		return $this->point;
100
+	}
101
+
102
+	/**
103
+	 * @return Arc
104
+	 */
105
+	public function getArc()
106
+	{
107
+		return $this->arc;
108
+	}
109
+
110
+	/**
111
+	 * @return Arc
112
+	 */
113
+	public function arc()
114
+	{
115
+		if (is_null($this->arc)) {
116
+			$this->arc = new Arc();
117
+		}
118
+
119
+		return $this->arc;
120
+	}
121
+
122
+	/**
123
+	 * @return string
124
+	 * @throws \ReflectionException
125
+	 * @throws \Zend_Reflection_Exception
126
+	 */
127
+	public function jsonSerialize()
128
+	{
129
+		return Json::encode($this->getArrayCopy());
130
+	}
131 131
 }
Please login to merge, or discard this patch.