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
Push — master ( 8ecc56...29a68c )
by halfpastfour
02:24
created
src/Options/Legend.php 1 patch
Indentation   +176 added lines, -176 removed lines patch added patch discarded remove patch
@@ -14,180 +14,180 @@
 block discarded – undo
14 14
  */
15 15
 class Legend implements ArraySerializableInterface, \JsonSerializable
16 16
 {
17
-    use ArraySerializable;
18
-
19
-    /**
20
-     * @var bool
21
-     */
22
-    private $display;
23
-
24
-    /**
25
-     * @var string
26
-     */
27
-    private $position;
28
-
29
-    /**
30
-     * @var bool
31
-     */
32
-    private $fullWidth;
33
-
34
-    /**
35
-     * @var Expr
36
-     */
37
-    private $onClick;
38
-
39
-    /**
40
-     * @var Expr
41
-     */
42
-    private $onHover;
43
-
44
-    /**
45
-     * @var LabelsCollection
46
-     */
47
-    private $labels;
48
-
49
-    /**
50
-     * @var bool
51
-     */
52
-    private $reverse;
53
-
54
-    /**
55
-     * @return bool
56
-     */
57
-    public function isDisplay()
58
-    {
59
-        return $this->display;
60
-    }
61
-
62
-    /**
63
-     * @param bool $display
64
-     *
65
-     * @return $this
66
-     */
67
-    public function setDisplay($display)
68
-    {
69
-        $this->display = ! ! $display;
70
-
71
-        return $this;
72
-    }
73
-
74
-    /**
75
-     * @return string
76
-     */
77
-    public function getPosition()
78
-    {
79
-        return $this->position;
80
-    }
81
-
82
-    /**
83
-     * @param string $position
84
-     *
85
-     * @return $this
86
-     */
87
-    public function setPosition($position)
88
-    {
89
-        $this->position = strval($position);
90
-
91
-        return $this;
92
-    }
93
-
94
-    /**
95
-     * @return bool
96
-     */
97
-    public function isFullWidth()
98
-    {
99
-        return $this->fullWidth;
100
-    }
101
-
102
-    /**
103
-     * @param bool $fullWidth
104
-     *
105
-     * @return $this
106
-     */
107
-    public function setFullWidth($fullWidth)
108
-    {
109
-        $this->fullWidth = ! ! $fullWidth;
110
-
111
-        return $this;
112
-    }
113
-
114
-    /**
115
-     * @return Expr
116
-     */
117
-    public function getOnClick()
118
-    {
119
-        return $this->onClick;
120
-    }
121
-
122
-    /**
123
-     * @param string $onClick
124
-     *
125
-     * @return $this
126
-     */
127
-    public function setOnClick($onClick)
128
-    {
129
-        $this->onClick = new Expr(strval($onClick));
130
-
131
-        return $this;
132
-    }
133
-
134
-    /**
135
-     * @return Expr
136
-     */
137
-    public function getOnHover()
138
-    {
139
-        return $this->onHover;
140
-    }
141
-
142
-    /**
143
-     * @param string $onHover
144
-     *
145
-     * @return $this
146
-     */
147
-    public function setOnHover($onHover)
148
-    {
149
-        $this->onHover = new Expr(strval($onHover));
150
-
151
-        return $this;
152
-    }
153
-
154
-    /**
155
-     * @return LabelsCollection
156
-     */
157
-    public function labels()
158
-    {
159
-        if (is_null($this->labels)) {
160
-            $this->labels = new LabelsCollection();
161
-        }
162
-
163
-        return $this->labels;
164
-    }
165
-
166
-    /**
167
-     * @return bool
168
-     */
169
-    public function isReverse()
170
-    {
171
-        return $this->reverse;
172
-    }
173
-
174
-    /**
175
-     * @param bool $reverse
176
-     *
177
-     * @return $this
178
-     */
179
-    public function setReverse($reverse)
180
-    {
181
-        $this->reverse = ! ! $reverse;
182
-
183
-        return $this;
184
-    }
185
-
186
-    /**
187
-     * @return string
188
-     */
189
-    public function jsonSerialize()
190
-    {
191
-        return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]);
192
-    }
17
+	use ArraySerializable;
18
+
19
+	/**
20
+	 * @var bool
21
+	 */
22
+	private $display;
23
+
24
+	/**
25
+	 * @var string
26
+	 */
27
+	private $position;
28
+
29
+	/**
30
+	 * @var bool
31
+	 */
32
+	private $fullWidth;
33
+
34
+	/**
35
+	 * @var Expr
36
+	 */
37
+	private $onClick;
38
+
39
+	/**
40
+	 * @var Expr
41
+	 */
42
+	private $onHover;
43
+
44
+	/**
45
+	 * @var LabelsCollection
46
+	 */
47
+	private $labels;
48
+
49
+	/**
50
+	 * @var bool
51
+	 */
52
+	private $reverse;
53
+
54
+	/**
55
+	 * @return bool
56
+	 */
57
+	public function isDisplay()
58
+	{
59
+		return $this->display;
60
+	}
61
+
62
+	/**
63
+	 * @param bool $display
64
+	 *
65
+	 * @return $this
66
+	 */
67
+	public function setDisplay($display)
68
+	{
69
+		$this->display = ! ! $display;
70
+
71
+		return $this;
72
+	}
73
+
74
+	/**
75
+	 * @return string
76
+	 */
77
+	public function getPosition()
78
+	{
79
+		return $this->position;
80
+	}
81
+
82
+	/**
83
+	 * @param string $position
84
+	 *
85
+	 * @return $this
86
+	 */
87
+	public function setPosition($position)
88
+	{
89
+		$this->position = strval($position);
90
+
91
+		return $this;
92
+	}
93
+
94
+	/**
95
+	 * @return bool
96
+	 */
97
+	public function isFullWidth()
98
+	{
99
+		return $this->fullWidth;
100
+	}
101
+
102
+	/**
103
+	 * @param bool $fullWidth
104
+	 *
105
+	 * @return $this
106
+	 */
107
+	public function setFullWidth($fullWidth)
108
+	{
109
+		$this->fullWidth = ! ! $fullWidth;
110
+
111
+		return $this;
112
+	}
113
+
114
+	/**
115
+	 * @return Expr
116
+	 */
117
+	public function getOnClick()
118
+	{
119
+		return $this->onClick;
120
+	}
121
+
122
+	/**
123
+	 * @param string $onClick
124
+	 *
125
+	 * @return $this
126
+	 */
127
+	public function setOnClick($onClick)
128
+	{
129
+		$this->onClick = new Expr(strval($onClick));
130
+
131
+		return $this;
132
+	}
133
+
134
+	/**
135
+	 * @return Expr
136
+	 */
137
+	public function getOnHover()
138
+	{
139
+		return $this->onHover;
140
+	}
141
+
142
+	/**
143
+	 * @param string $onHover
144
+	 *
145
+	 * @return $this
146
+	 */
147
+	public function setOnHover($onHover)
148
+	{
149
+		$this->onHover = new Expr(strval($onHover));
150
+
151
+		return $this;
152
+	}
153
+
154
+	/**
155
+	 * @return LabelsCollection
156
+	 */
157
+	public function labels()
158
+	{
159
+		if (is_null($this->labels)) {
160
+			$this->labels = new LabelsCollection();
161
+		}
162
+
163
+		return $this->labels;
164
+	}
165
+
166
+	/**
167
+	 * @return bool
168
+	 */
169
+	public function isReverse()
170
+	{
171
+		return $this->reverse;
172
+	}
173
+
174
+	/**
175
+	 * @param bool $reverse
176
+	 *
177
+	 * @return $this
178
+	 */
179
+	public function setReverse($reverse)
180
+	{
181
+		$this->reverse = ! ! $reverse;
182
+
183
+		return $this;
184
+	}
185
+
186
+	/**
187
+	 * @return string
188
+	 */
189
+	public function jsonSerialize()
190
+	{
191
+		return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]);
192
+	}
193 193
 }
Please login to merge, or discard this patch.
src/Options/Legend/Labels.php 1 patch
Indentation   +209 added lines, -209 removed lines patch added patch discarded remove patch
@@ -13,213 +13,213 @@
 block discarded – undo
13 13
  */
14 14
 class Labels implements ArraySerializableInterface, \JsonSerializable
15 15
 {
16
-    use ArraySerializable;
17
-
18
-    /**
19
-     * @var int
20
-     */
21
-    private $boxWidth;
22
-
23
-    /**
24
-     * @var int
25
-     */
26
-    private $fontSize;
27
-
28
-    /**
29
-     * @var string
30
-     */
31
-    private $fontStyle;
32
-
33
-    /**
34
-     * @var string
35
-     */
36
-    private $fontColor;
37
-
38
-    /**
39
-     * @var string
40
-     */
41
-    private $fontFamily;
42
-
43
-    /**
44
-     * @var int
45
-     */
46
-    private $padding;
47
-
48
-    /**
49
-     * @var Expr
50
-     */
51
-    private $generateLabels;
52
-
53
-    /**
54
-     * @var bool
55
-     */
56
-    private $usePointStyle;
57
-
58
-    /**
59
-     * @return int
60
-     */
61
-    public function getBoxWidth()
62
-    {
63
-        return $this->boxWidth;
64
-    }
65
-
66
-    /**
67
-     * @param int $boxWidth
68
-     *
69
-     * @return Labels
70
-     */
71
-    public function setBoxWidth($boxWidth)
72
-    {
73
-        $this->boxWidth = intval($boxWidth);
74
-
75
-        return $this;
76
-    }
77
-
78
-    /**
79
-     * @return mixed
80
-     */
81
-    public function getFontSize()
82
-    {
83
-        return $this->fontSize;
84
-    }
85
-
86
-    /**
87
-     * @param int $fontSize
88
-     *
89
-     * @return Labels
90
-     */
91
-    public function setFontSize($fontSize)
92
-    {
93
-        $this->fontSize = intval($fontSize);
94
-
95
-        return $this;
96
-    }
97
-
98
-    /**
99
-     * @return string
100
-     */
101
-    public function getFontStyle()
102
-    {
103
-        return $this->fontStyle;
104
-    }
105
-
106
-    /**
107
-     * @param string $fontStyle
108
-     *
109
-     * @return Labels
110
-     */
111
-    public function setFontStyle($fontStyle)
112
-    {
113
-        $this->fontStyle = strval($fontStyle);
114
-
115
-        return $this;
116
-    }
117
-
118
-    /**
119
-     * @return string
120
-     */
121
-    public function getFontColor()
122
-    {
123
-        return $this->fontColor;
124
-    }
125
-
126
-    /**
127
-     * @param string $fontColor
128
-     *
129
-     * @return Labels
130
-     */
131
-    public function setFontColor($fontColor)
132
-    {
133
-        $this->fontColor = strval($fontColor);
134
-
135
-        return $this;
136
-    }
137
-
138
-    /**
139
-     * @return string
140
-     */
141
-    public function getFontFamily()
142
-    {
143
-        return $this->fontFamily;
144
-    }
145
-
146
-    /**
147
-     * @param string $fontFamily
148
-     *
149
-     * @return Labels
150
-     */
151
-    public function setFontFamily($fontFamily)
152
-    {
153
-        $this->fontFamily = strval($fontFamily);
154
-
155
-        return $this;
156
-    }
157
-
158
-    /**
159
-     * @return int
160
-     */
161
-    public function getPadding()
162
-    {
163
-        return $this->padding;
164
-    }
165
-
166
-    /**
167
-     * @param int $padding
168
-     *
169
-     * @return Labels
170
-     */
171
-    public function setPadding($padding)
172
-    {
173
-        $this->padding = intval($padding);
174
-
175
-        return $this;
176
-    }
177
-
178
-    /**
179
-     * @return Expr
180
-     */
181
-    public function getGenerateLabels()
182
-    {
183
-        return $this->generateLabels;
184
-    }
185
-
186
-    /**
187
-     * @param string $generateLabels
188
-     *
189
-     * @return Labels
190
-     */
191
-    public function setGenerateLabels($generateLabels)
192
-    {
193
-        $this->generateLabels = new Expr(strval($generateLabels));
194
-
195
-        return $this;
196
-    }
197
-
198
-    /**
199
-     * @return bool
200
-     */
201
-    public function isUsePointStyle()
202
-    {
203
-        return $this->usePointStyle;
204
-    }
205
-
206
-    /**
207
-     * @param bool $usePointStyle
208
-     *
209
-     * @return Labels
210
-     */
211
-    public function setUsePointStyle($usePointStyle)
212
-    {
213
-        $this->usePointStyle = ! ! $usePointStyle;
214
-
215
-        return $this;
216
-    }
217
-
218
-    /**
219
-     * @return string
220
-     */
221
-    public function jsonSerialize()
222
-    {
223
-        return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]);
224
-    }
16
+	use ArraySerializable;
17
+
18
+	/**
19
+	 * @var int
20
+	 */
21
+	private $boxWidth;
22
+
23
+	/**
24
+	 * @var int
25
+	 */
26
+	private $fontSize;
27
+
28
+	/**
29
+	 * @var string
30
+	 */
31
+	private $fontStyle;
32
+
33
+	/**
34
+	 * @var string
35
+	 */
36
+	private $fontColor;
37
+
38
+	/**
39
+	 * @var string
40
+	 */
41
+	private $fontFamily;
42
+
43
+	/**
44
+	 * @var int
45
+	 */
46
+	private $padding;
47
+
48
+	/**
49
+	 * @var Expr
50
+	 */
51
+	private $generateLabels;
52
+
53
+	/**
54
+	 * @var bool
55
+	 */
56
+	private $usePointStyle;
57
+
58
+	/**
59
+	 * @return int
60
+	 */
61
+	public function getBoxWidth()
62
+	{
63
+		return $this->boxWidth;
64
+	}
65
+
66
+	/**
67
+	 * @param int $boxWidth
68
+	 *
69
+	 * @return Labels
70
+	 */
71
+	public function setBoxWidth($boxWidth)
72
+	{
73
+		$this->boxWidth = intval($boxWidth);
74
+
75
+		return $this;
76
+	}
77
+
78
+	/**
79
+	 * @return mixed
80
+	 */
81
+	public function getFontSize()
82
+	{
83
+		return $this->fontSize;
84
+	}
85
+
86
+	/**
87
+	 * @param int $fontSize
88
+	 *
89
+	 * @return Labels
90
+	 */
91
+	public function setFontSize($fontSize)
92
+	{
93
+		$this->fontSize = intval($fontSize);
94
+
95
+		return $this;
96
+	}
97
+
98
+	/**
99
+	 * @return string
100
+	 */
101
+	public function getFontStyle()
102
+	{
103
+		return $this->fontStyle;
104
+	}
105
+
106
+	/**
107
+	 * @param string $fontStyle
108
+	 *
109
+	 * @return Labels
110
+	 */
111
+	public function setFontStyle($fontStyle)
112
+	{
113
+		$this->fontStyle = strval($fontStyle);
114
+
115
+		return $this;
116
+	}
117
+
118
+	/**
119
+	 * @return string
120
+	 */
121
+	public function getFontColor()
122
+	{
123
+		return $this->fontColor;
124
+	}
125
+
126
+	/**
127
+	 * @param string $fontColor
128
+	 *
129
+	 * @return Labels
130
+	 */
131
+	public function setFontColor($fontColor)
132
+	{
133
+		$this->fontColor = strval($fontColor);
134
+
135
+		return $this;
136
+	}
137
+
138
+	/**
139
+	 * @return string
140
+	 */
141
+	public function getFontFamily()
142
+	{
143
+		return $this->fontFamily;
144
+	}
145
+
146
+	/**
147
+	 * @param string $fontFamily
148
+	 *
149
+	 * @return Labels
150
+	 */
151
+	public function setFontFamily($fontFamily)
152
+	{
153
+		$this->fontFamily = strval($fontFamily);
154
+
155
+		return $this;
156
+	}
157
+
158
+	/**
159
+	 * @return int
160
+	 */
161
+	public function getPadding()
162
+	{
163
+		return $this->padding;
164
+	}
165
+
166
+	/**
167
+	 * @param int $padding
168
+	 *
169
+	 * @return Labels
170
+	 */
171
+	public function setPadding($padding)
172
+	{
173
+		$this->padding = intval($padding);
174
+
175
+		return $this;
176
+	}
177
+
178
+	/**
179
+	 * @return Expr
180
+	 */
181
+	public function getGenerateLabels()
182
+	{
183
+		return $this->generateLabels;
184
+	}
185
+
186
+	/**
187
+	 * @param string $generateLabels
188
+	 *
189
+	 * @return Labels
190
+	 */
191
+	public function setGenerateLabels($generateLabels)
192
+	{
193
+		$this->generateLabels = new Expr(strval($generateLabels));
194
+
195
+		return $this;
196
+	}
197
+
198
+	/**
199
+	 * @return bool
200
+	 */
201
+	public function isUsePointStyle()
202
+	{
203
+		return $this->usePointStyle;
204
+	}
205
+
206
+	/**
207
+	 * @param bool $usePointStyle
208
+	 *
209
+	 * @return Labels
210
+	 */
211
+	public function setUsePointStyle($usePointStyle)
212
+	{
213
+		$this->usePointStyle = ! ! $usePointStyle;
214
+
215
+		return $this;
216
+	}
217
+
218
+	/**
219
+	 * @return string
220
+	 */
221
+	public function jsonSerialize()
222
+	{
223
+		return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]);
224
+	}
225 225
 }
Please login to merge, or discard this patch.
src/Options/Scales/Ticks.php 1 patch
Indentation   +459 added lines, -459 removed lines patch added patch discarded remove patch
@@ -14,463 +14,463 @@
 block discarded – undo
14 14
  */
15 15
 class Ticks implements ArraySerializableInterface, \JsonSerializable
16 16
 {
17
-    use ArraySerializable;
18
-
19
-    /**
20
-     * @var float
21
-     */
22
-    private $suggestedMin;
23
-
24
-    /**
25
-     * @var bool
26
-     */
27
-    private $beginAtZero;
28
-
29
-    /**
30
-     * @var float
31
-     */
32
-    private $stepSize;
33
-
34
-    /**
35
-     * @var bool
36
-     */
37
-    private $autoSkip;
38
-
39
-    /**
40
-     * @var int
41
-     */
42
-    private $autoSkipPadding;
43
-
44
-    /**
45
-     * @var Expr
46
-     */
47
-    private $callback;
48
-
49
-    /**
50
-     * @var bool
51
-     */
52
-    private $display;
53
-
54
-    /**
55
-     * @var string
56
-     */
57
-    private $fontColor;
58
-
59
-    /**
60
-     * @var string
61
-     */
62
-    private $fontFamily;
63
-
64
-    /**
65
-     * @var int
66
-     */
67
-    private $fontSize;
68
-
69
-    /**
70
-     * @var string
71
-     */
72
-    private $fontStyle;
73
-
74
-    /**
75
-     * @var int
76
-     */
77
-    private $labelOffset;
78
-
79
-    /**
80
-     * @var int
81
-     */
82
-    private $maxRotation;
83
-
84
-    /**
85
-     * @var int
86
-     */
87
-    private $minRotation;
88
-
89
-    /**
90
-     * @var bool
91
-     */
92
-    private $mirror;
93
-
94
-    /**
95
-     * @var int
96
-     */
97
-    private $padding;
98
-
99
-    /**
100
-     * @var bool
101
-     */
102
-    private $reverse;
103
-
104
-    /**
105
-     * @var int
106
-     */
107
-    private $max;
108
-
109
-    /**
110
-     * @return float
111
-     */
112
-    public function getSuggestedMin()
113
-    {
114
-        return $this->suggestedMin;
115
-    }
116
-
117
-    /**
118
-     * @param float $suggestedMin
119
-     *
120
-     * @return $this
121
-     */
122
-    public function setSuggestedMin($suggestedMin)
123
-    {
124
-        $this->suggestedMin = floatval($suggestedMin);
125
-
126
-        return $this;
127
-    }
128
-
129
-    /**
130
-     * @return bool
131
-     */
132
-    public function isBeginAtZero()
133
-    {
134
-        return $this->beginAtZero;
135
-    }
136
-
137
-    /**
138
-     * @param bool $beginAtZero
139
-     *
140
-     * @return $this
141
-     */
142
-    public function setBeginAtZero($beginAtZero)
143
-    {
144
-        $this->beginAtZero = boolval($beginAtZero);
145
-
146
-        return $this;
147
-    }
148
-
149
-    /**
150
-     * @return float
151
-     */
152
-    public function getStepSize()
153
-    {
154
-        return $this->stepSize;
155
-    }
156
-
157
-    /**
158
-     * @param float $stepSize
159
-     *
160
-     * @return $this
161
-     */
162
-    public function setStepSize($stepSize)
163
-    {
164
-        $this->stepSize = floatval($stepSize);
165
-
166
-        return $this;
167
-    }
168
-
169
-    /**
170
-     * @return bool
171
-     */
172
-    public function isAutoSkip()
173
-    {
174
-        return $this->autoSkip;
175
-    }
176
-
177
-    /**
178
-     * @param bool $autoSkip
179
-     *
180
-     * @return $this
181
-     */
182
-    public function setAutoSkip($autoSkip)
183
-    {
184
-        $this->autoSkip = ! ! $autoSkip;
185
-
186
-        return $this;
187
-    }
188
-
189
-    /**
190
-     * @return int
191
-     */
192
-    public function getAutoSkipPadding()
193
-    {
194
-        return $this->autoSkipPadding;
195
-    }
196
-
197
-    /**
198
-     * @param int $autoSkipPadding
199
-     *
200
-     * @return $this
201
-     */
202
-    public function setAutoSkipPadding($autoSkipPadding)
203
-    {
204
-        $this->autoSkipPadding = intval($autoSkipPadding);
205
-
206
-        return $this;
207
-    }
208
-
209
-    /**
210
-     * @return Expr
211
-     */
212
-    public function getCallback()
213
-    {
214
-        return $this->callback;
215
-    }
216
-
217
-    /**
218
-     * @param string $callback
219
-     *
220
-     * @return $this
221
-     */
222
-    public function setCallback($callback)
223
-    {
224
-        $this->callback = new Expr(strval($callback));
225
-
226
-        return $this;
227
-    }
228
-
229
-    /**
230
-     * @return bool
231
-     */
232
-    public function isDisplay()
233
-    {
234
-        return $this->display;
235
-    }
236
-
237
-    /**
238
-     * @param bool $display
239
-     *
240
-     * @return $this
241
-     */
242
-    public function setDisplay($display)
243
-    {
244
-        $this->display = ! ! $display;
245
-
246
-        return $this;
247
-    }
248
-
249
-    /**
250
-     * @return string
251
-     */
252
-    public function getFontColor()
253
-    {
254
-        return $this->fontColor;
255
-    }
256
-
257
-    /**
258
-     * @param string $fontColor
259
-     *
260
-     * @return $this
261
-     */
262
-    public function setFontColor($fontColor)
263
-    {
264
-        $this->fontColor = strval($fontColor);
265
-
266
-        return $this;
267
-    }
268
-
269
-    /**
270
-     * @return string
271
-     */
272
-    public function getFontFamily()
273
-    {
274
-        return $this->fontFamily;
275
-    }
276
-
277
-    /**
278
-     * @param string $fontFamily
279
-     *
280
-     * @return $this
281
-     */
282
-    public function setFontFamily($fontFamily)
283
-    {
284
-        $this->fontFamily = strval($fontFamily);
285
-
286
-        return $this;
287
-    }
288
-
289
-    /**
290
-     * @return int
291
-     */
292
-    public function getFontSize()
293
-    {
294
-        return $this->fontSize;
295
-    }
296
-
297
-    /**
298
-     * @param int $fontSize
299
-     *
300
-     * @return $this
301
-     */
302
-    public function setFontSize($fontSize)
303
-    {
304
-        $this->fontSize = intval($fontSize);
305
-
306
-        return $this;
307
-    }
308
-
309
-    /**
310
-     * @return string
311
-     */
312
-    public function getFontStyle()
313
-    {
314
-        return $this->fontStyle;
315
-    }
316
-
317
-    /**
318
-     * @param string $fontStyle
319
-     *
320
-     * @return $this
321
-     */
322
-    public function setFontStyle($fontStyle)
323
-    {
324
-        $this->fontStyle = strval($fontStyle);
325
-
326
-        return $this;
327
-    }
328
-
329
-    /**
330
-     * @return int
331
-     */
332
-    public function getLabelOffset()
333
-    {
334
-        return $this->labelOffset;
335
-    }
336
-
337
-    /**
338
-     * @param int $labelOffset
339
-     *
340
-     * @return $this
341
-     */
342
-    public function setLabelOffset($labelOffset)
343
-    {
344
-        $this->labelOffset = intval($labelOffset);
345
-
346
-        return $this;
347
-    }
348
-
349
-    /**
350
-     * @return int
351
-     */
352
-    public function getMaxRotation()
353
-    {
354
-        return $this->maxRotation;
355
-    }
356
-
357
-    /**
358
-     * @param int $maxRotation
359
-     *
360
-     * @return $this
361
-     */
362
-    public function setMaxRotation($maxRotation)
363
-    {
364
-        $this->maxRotation = intval($maxRotation);
365
-
366
-        return $this;
367
-    }
368
-
369
-    /**
370
-     * @return int
371
-     */
372
-    public function getMinRotation()
373
-    {
374
-        return $this->minRotation;
375
-    }
376
-
377
-    /**
378
-     * @param int $minRotation
379
-     *
380
-     * @return $this
381
-     */
382
-    public function setMinRotation($minRotation)
383
-    {
384
-        $this->minRotation = intval($minRotation);
385
-
386
-        return $this;
387
-    }
388
-
389
-    /**
390
-     * @return bool
391
-     */
392
-    public function isMirror()
393
-    {
394
-        return $this->mirror;
395
-    }
396
-
397
-    /**
398
-     * @param bool $mirror
399
-     *
400
-     * @return $this
401
-     */
402
-    public function setMirror($mirror)
403
-    {
404
-        $this->mirror = ! ! $mirror;
405
-
406
-        return $this;
407
-    }
408
-
409
-    /**
410
-     * @return int
411
-     */
412
-    public function getPadding()
413
-    {
414
-        return $this->padding;
415
-    }
416
-
417
-    /**
418
-     * @param int $padding
419
-     *
420
-     * @return $this
421
-     */
422
-    public function setPadding($padding)
423
-    {
424
-        $this->padding = intval($padding);
425
-
426
-        return $this;
427
-    }
428
-
429
-    /**
430
-     * @return bool
431
-     */
432
-    public function isReverse()
433
-    {
434
-        return $this->reverse;
435
-    }
436
-
437
-    /**
438
-     * @param bool $reverse
439
-     *
440
-     * @return $this
441
-     */
442
-    public function setReverse($reverse)
443
-    {
444
-        $this->reverse = ! ! $reverse;
445
-
446
-        return $this;
447
-    }
448
-
449
-    /**
450
-     * @return int
451
-     */
452
-    public function getMax()
453
-    {
454
-        return $this->max;
455
-    }
456
-
457
-    /**
458
-     * @param int $max
459
-     *
460
-     * @return $this
461
-     */
462
-    public function setMax($max)
463
-    {
464
-        $this->max = intval($max);
465
-
466
-        return $this;
467
-    }
468
-
469
-    /**
470
-     * @return string
471
-     */
472
-    public function jsonSerialize()
473
-    {
474
-        return Json::encode($this->getArrayCopy(), false, ['enableJsonExprFinder' => true]);
475
-    }
17
+	use ArraySerializable;
18
+
19
+	/**
20
+	 * @var float
21
+	 */
22
+	private $suggestedMin;
23
+
24
+	/**
25
+	 * @var bool
26
+	 */
27
+	private $beginAtZero;
28
+
29
+	/**
30
+	 * @var float
31
+	 */
32
+	private $stepSize;
33
+
34
+	/**
35
+	 * @var bool
36
+	 */
37
+	private $autoSkip;
38
+
39
+	/**
40
+	 * @var int
41
+	 */
42
+	private $autoSkipPadding;
43
+
44
+	/**
45
+	 * @var Expr
46
+	 */
47
+	private $callback;
48
+
49
+	/**
50
+	 * @var bool
51
+	 */
52
+	private $display;
53
+
54
+	/**
55
+	 * @var string
56
+	 */
57
+	private $fontColor;
58
+
59
+	/**
60
+	 * @var string
61
+	 */
62
+	private $fontFamily;
63
+
64
+	/**
65
+	 * @var int
66
+	 */
67
+	private $fontSize;
68
+
69
+	/**
70
+	 * @var string
71
+	 */
72
+	private $fontStyle;
73
+
74
+	/**
75
+	 * @var int
76
+	 */
77
+	private $labelOffset;
78
+
79
+	/**
80
+	 * @var int
81
+	 */
82
+	private $maxRotation;
83
+
84
+	/**
85
+	 * @var int
86
+	 */
87
+	private $minRotation;
88
+
89
+	/**
90
+	 * @var bool
91
+	 */
92
+	private $mirror;
93
+
94
+	/**
95
+	 * @var int
96
+	 */
97
+	private $padding;
98
+
99
+	/**
100
+	 * @var bool
101
+	 */
102
+	private $reverse;
103
+
104
+	/**
105
+	 * @var int
106
+	 */
107
+	private $max;
108
+
109
+	/**
110
+	 * @return float
111
+	 */
112
+	public function getSuggestedMin()
113
+	{
114
+		return $this->suggestedMin;
115
+	}
116
+
117
+	/**
118
+	 * @param float $suggestedMin
119
+	 *
120
+	 * @return $this
121
+	 */
122
+	public function setSuggestedMin($suggestedMin)
123
+	{
124
+		$this->suggestedMin = floatval($suggestedMin);
125
+
126
+		return $this;
127
+	}
128
+
129
+	/**
130
+	 * @return bool
131
+	 */
132
+	public function isBeginAtZero()
133
+	{
134
+		return $this->beginAtZero;
135
+	}
136
+
137
+	/**
138
+	 * @param bool $beginAtZero
139
+	 *
140
+	 * @return $this
141
+	 */
142
+	public function setBeginAtZero($beginAtZero)
143
+	{
144
+		$this->beginAtZero = boolval($beginAtZero);
145
+
146
+		return $this;
147
+	}
148
+
149
+	/**
150
+	 * @return float
151
+	 */
152
+	public function getStepSize()
153
+	{
154
+		return $this->stepSize;
155
+	}
156
+
157
+	/**
158
+	 * @param float $stepSize
159
+	 *
160
+	 * @return $this
161
+	 */
162
+	public function setStepSize($stepSize)
163
+	{
164
+		$this->stepSize = floatval($stepSize);
165
+
166
+		return $this;
167
+	}
168
+
169
+	/**
170
+	 * @return bool
171
+	 */
172
+	public function isAutoSkip()
173
+	{
174
+		return $this->autoSkip;
175
+	}
176
+
177
+	/**
178
+	 * @param bool $autoSkip
179
+	 *
180
+	 * @return $this
181
+	 */
182
+	public function setAutoSkip($autoSkip)
183
+	{
184
+		$this->autoSkip = ! ! $autoSkip;
185
+
186
+		return $this;
187
+	}
188
+
189
+	/**
190
+	 * @return int
191
+	 */
192
+	public function getAutoSkipPadding()
193
+	{
194
+		return $this->autoSkipPadding;
195
+	}
196
+
197
+	/**
198
+	 * @param int $autoSkipPadding
199
+	 *
200
+	 * @return $this
201
+	 */
202
+	public function setAutoSkipPadding($autoSkipPadding)
203
+	{
204
+		$this->autoSkipPadding = intval($autoSkipPadding);
205
+
206
+		return $this;
207
+	}
208
+
209
+	/**
210
+	 * @return Expr
211
+	 */
212
+	public function getCallback()
213
+	{
214
+		return $this->callback;
215
+	}
216
+
217
+	/**
218
+	 * @param string $callback
219
+	 *
220
+	 * @return $this
221
+	 */
222
+	public function setCallback($callback)
223
+	{
224
+		$this->callback = new Expr(strval($callback));
225
+
226
+		return $this;
227
+	}
228
+
229
+	/**
230
+	 * @return bool
231
+	 */
232
+	public function isDisplay()
233
+	{
234
+		return $this->display;
235
+	}
236
+
237
+	/**
238
+	 * @param bool $display
239
+	 *
240
+	 * @return $this
241
+	 */
242
+	public function setDisplay($display)
243
+	{
244
+		$this->display = ! ! $display;
245
+
246
+		return $this;
247
+	}
248
+
249
+	/**
250
+	 * @return string
251
+	 */
252
+	public function getFontColor()
253
+	{
254
+		return $this->fontColor;
255
+	}
256
+
257
+	/**
258
+	 * @param string $fontColor
259
+	 *
260
+	 * @return $this
261
+	 */
262
+	public function setFontColor($fontColor)
263
+	{
264
+		$this->fontColor = strval($fontColor);
265
+
266
+		return $this;
267
+	}
268
+
269
+	/**
270
+	 * @return string
271
+	 */
272
+	public function getFontFamily()
273
+	{
274
+		return $this->fontFamily;
275
+	}
276
+
277
+	/**
278
+	 * @param string $fontFamily
279
+	 *
280
+	 * @return $this
281
+	 */
282
+	public function setFontFamily($fontFamily)
283
+	{
284
+		$this->fontFamily = strval($fontFamily);
285
+
286
+		return $this;
287
+	}
288
+
289
+	/**
290
+	 * @return int
291
+	 */
292
+	public function getFontSize()
293
+	{
294
+		return $this->fontSize;
295
+	}
296
+
297
+	/**
298
+	 * @param int $fontSize
299
+	 *
300
+	 * @return $this
301
+	 */
302
+	public function setFontSize($fontSize)
303
+	{
304
+		$this->fontSize = intval($fontSize);
305
+
306
+		return $this;
307
+	}
308
+
309
+	/**
310
+	 * @return string
311
+	 */
312
+	public function getFontStyle()
313
+	{
314
+		return $this->fontStyle;
315
+	}
316
+
317
+	/**
318
+	 * @param string $fontStyle
319
+	 *
320
+	 * @return $this
321
+	 */
322
+	public function setFontStyle($fontStyle)
323
+	{
324
+		$this->fontStyle = strval($fontStyle);
325
+
326
+		return $this;
327
+	}
328
+
329
+	/**
330
+	 * @return int
331
+	 */
332
+	public function getLabelOffset()
333
+	{
334
+		return $this->labelOffset;
335
+	}
336
+
337
+	/**
338
+	 * @param int $labelOffset
339
+	 *
340
+	 * @return $this
341
+	 */
342
+	public function setLabelOffset($labelOffset)
343
+	{
344
+		$this->labelOffset = intval($labelOffset);
345
+
346
+		return $this;
347
+	}
348
+
349
+	/**
350
+	 * @return int
351
+	 */
352
+	public function getMaxRotation()
353
+	{
354
+		return $this->maxRotation;
355
+	}
356
+
357
+	/**
358
+	 * @param int $maxRotation
359
+	 *
360
+	 * @return $this
361
+	 */
362
+	public function setMaxRotation($maxRotation)
363
+	{
364
+		$this->maxRotation = intval($maxRotation);
365
+
366
+		return $this;
367
+	}
368
+
369
+	/**
370
+	 * @return int
371
+	 */
372
+	public function getMinRotation()
373
+	{
374
+		return $this->minRotation;
375
+	}
376
+
377
+	/**
378
+	 * @param int $minRotation
379
+	 *
380
+	 * @return $this
381
+	 */
382
+	public function setMinRotation($minRotation)
383
+	{
384
+		$this->minRotation = intval($minRotation);
385
+
386
+		return $this;
387
+	}
388
+
389
+	/**
390
+	 * @return bool
391
+	 */
392
+	public function isMirror()
393
+	{
394
+		return $this->mirror;
395
+	}
396
+
397
+	/**
398
+	 * @param bool $mirror
399
+	 *
400
+	 * @return $this
401
+	 */
402
+	public function setMirror($mirror)
403
+	{
404
+		$this->mirror = ! ! $mirror;
405
+
406
+		return $this;
407
+	}
408
+
409
+	/**
410
+	 * @return int
411
+	 */
412
+	public function getPadding()
413
+	{
414
+		return $this->padding;
415
+	}
416
+
417
+	/**
418
+	 * @param int $padding
419
+	 *
420
+	 * @return $this
421
+	 */
422
+	public function setPadding($padding)
423
+	{
424
+		$this->padding = intval($padding);
425
+
426
+		return $this;
427
+	}
428
+
429
+	/**
430
+	 * @return bool
431
+	 */
432
+	public function isReverse()
433
+	{
434
+		return $this->reverse;
435
+	}
436
+
437
+	/**
438
+	 * @param bool $reverse
439
+	 *
440
+	 * @return $this
441
+	 */
442
+	public function setReverse($reverse)
443
+	{
444
+		$this->reverse = ! ! $reverse;
445
+
446
+		return $this;
447
+	}
448
+
449
+	/**
450
+	 * @return int
451
+	 */
452
+	public function getMax()
453
+	{
454
+		return $this->max;
455
+	}
456
+
457
+	/**
458
+	 * @param int $max
459
+	 *
460
+	 * @return $this
461
+	 */
462
+	public function setMax($max)
463
+	{
464
+		$this->max = intval($max);
465
+
466
+		return $this;
467
+	}
468
+
469
+	/**
470
+	 * @return string
471
+	 */
472
+	public function jsonSerialize()
473
+	{
474
+		return Json::encode($this->getArrayCopy(), false, ['enableJsonExprFinder' => true]);
475
+	}
476 476
 }
Please login to merge, or discard this patch.
src/Options/Scales/GridLines.php 1 patch
Indentation   +339 added lines, -339 removed lines patch added patch discarded remove patch
@@ -13,343 +13,343 @@
 block discarded – undo
13 13
  */
14 14
 class GridLines implements ArraySerializableInterface, \JsonSerializable
15 15
 {
16
-    use ArraySerializable;
17
-
18
-    /**
19
-     * @var bool
20
-     */
21
-    private $display;
22
-
23
-    /**
24
-     * @var string|string[]
25
-     */
26
-    private $color;
27
-
28
-    /**
29
-     * @var float[]
30
-     */
31
-    private $borderDash;
32
-
33
-    /**
34
-     * @var float
35
-     */
36
-    private $borderDashOffset;
37
-
38
-    /**
39
-     * @var int|int[]
40
-     */
41
-    private $lineWidth;
42
-
43
-    /**
44
-     * @var bool
45
-     */
46
-    private $drawBorder;
47
-
48
-    /**
49
-     * @var bool
50
-     */
51
-    private $drawOnChartArea;
52
-
53
-    /**
54
-     * @var bool
55
-     */
56
-    private $drawTicks;
57
-
58
-    /**
59
-     * @var int
60
-     */
61
-    private $tickMarkLength;
62
-
63
-    /**
64
-     * @var int
65
-     */
66
-    private $zeroLineWidth;
67
-
68
-    /**
69
-     * @var string
70
-     */
71
-    private $zeroLineColor;
72
-
73
-    /**
74
-     * @var bool
75
-     */
76
-    private $offsetGridLines;
77
-
78
-    /**
79
-     * @return bool
80
-     */
81
-    public function isDisplay()
82
-    {
83
-        return $this->display;
84
-    }
85
-
86
-    /**
87
-     * @param bool $display
88
-     *
89
-     * @return $this
90
-     */
91
-    public function setDisplay($display)
92
-    {
93
-        $this->display = $display;
94
-
95
-        return $this;
96
-    }
97
-
98
-    /**
99
-     * @return string|string[]
100
-     */
101
-    public function getColor()
102
-    {
103
-        return $this->color;
104
-    }
105
-
106
-    /**
107
-     * @param string|string[] $color
108
-     *
109
-     * @return $this
110
-     */
111
-    public function setColor($color)
112
-    {
113
-        if (is_array($color)) {
114
-            array_walk_recursive(
115
-                $color,
116
-                function (&$value) {
117
-                    $value = strval($value);
118
-                }
119
-            );
120
-            $this->color = $color;
121
-        } else {
122
-            $this->color = is_null($color) ? null : strval($color);
123
-        }
124
-
125
-        return $this;
126
-    }
127
-
128
-    /**
129
-     * @return \float[]
130
-     */
131
-    public function getBorderDash()
132
-    {
133
-        return $this->borderDash;
134
-    }
135
-
136
-    /**
137
-     * @param \float[] $borderDash
138
-     *
139
-     * @return $this
140
-     */
141
-    public function setBorderDash($borderDash)
142
-    {
143
-        if (is_array($borderDash)) {
144
-            array_walk_recursive(
145
-                $borderDash,
146
-                function (&$value) {
147
-                    $value = floatval($value);
148
-                }
149
-            );
150
-            $this->borderDash = $borderDash;
151
-        }
152
-
153
-        return $this;
154
-    }
155
-
156
-    /**
157
-     * @return float
158
-     */
159
-    public function getBorderDashOffset()
160
-    {
161
-        return $this->borderDashOffset;
162
-    }
163
-
164
-    /**
165
-     * @param float $borderDashOffset
166
-     *
167
-     * @return $this
168
-     */
169
-    public function setBorderDashOffset($borderDashOffset)
170
-    {
171
-        $this->borderDashOffset = floatval($borderDashOffset);
172
-
173
-        return $this;
174
-    }
175
-
176
-    /**
177
-     * @return int|int[]
178
-     */
179
-    public function getLineWidth()
180
-    {
181
-        return $this->lineWidth;
182
-    }
183
-
184
-    /**
185
-     * @param int|int[] $lineWidth
186
-     *
187
-     * @return $this
188
-     */
189
-    public function setLineWidth($lineWidth)
190
-    {
191
-        if (is_array($lineWidth)) {
192
-            array_walk_recursive(
193
-                $lineWidth,
194
-                function (&$value) {
195
-                    $value = intval($value);
196
-                }
197
-            );
198
-            $this->lineWidth = $lineWidth;
199
-        } else {
200
-            $this->lineWidth = is_null($lineWidth) ? null : intval($lineWidth);
201
-        }
202
-
203
-        return $this;
204
-    }
205
-
206
-    /**
207
-     * @return bool
208
-     */
209
-    public function isDrawBorder()
210
-    {
211
-        return $this->drawBorder;
212
-    }
213
-
214
-    /**
215
-     * @param bool $drawBorder
216
-     *
217
-     * @return $this
218
-     */
219
-    public function setDrawBorder($drawBorder)
220
-    {
221
-        $this->drawBorder = boolval($drawBorder);
222
-
223
-        return $this;
224
-    }
225
-
226
-    /**
227
-     * @return bool
228
-     */
229
-    public function isDrawOnChartArea()
230
-    {
231
-        return $this->drawOnChartArea;
232
-    }
233
-
234
-    /**
235
-     * @param bool $drawOnChartArea
236
-     *
237
-     * @return $this
238
-     */
239
-    public function setDrawOnChartArea($drawOnChartArea)
240
-    {
241
-        $this->drawOnChartArea = boolval($drawOnChartArea);
242
-
243
-        return $this;
244
-    }
245
-
246
-    /**
247
-     * @return bool
248
-     */
249
-    public function isDrawTicks()
250
-    {
251
-        return $this->drawTicks;
252
-    }
253
-
254
-    /**
255
-     * @param bool $drawTicks
256
-     *
257
-     * @return $this
258
-     */
259
-    public function setDrawTicks($drawTicks)
260
-    {
261
-        $this->drawTicks = boolval($drawTicks);
262
-
263
-        return $this;
264
-    }
265
-
266
-    /**
267
-     * @return int
268
-     */
269
-    public function getTickMarkLength()
270
-    {
271
-        return $this->tickMarkLength;
272
-    }
273
-
274
-    /**
275
-     * @param int $tickMarkLength
276
-     *
277
-     * @return $this
278
-     */
279
-    public function setTickMarkLength($tickMarkLength)
280
-    {
281
-        $this->tickMarkLength = intval($tickMarkLength);
282
-
283
-        return $this;
284
-    }
285
-
286
-    /**
287
-     * @return int
288
-     */
289
-    public function getZeroLineWidth()
290
-    {
291
-        return $this->zeroLineWidth;
292
-    }
293
-
294
-    /**
295
-     * @param int $zeroLineWidth
296
-     *
297
-     * @return $this
298
-     */
299
-    public function setZeroLineWidth($zeroLineWidth)
300
-    {
301
-        $this->zeroLineWidth = intval($zeroLineWidth);
302
-
303
-        return $this;
304
-    }
305
-
306
-    /**
307
-     * @return string
308
-     */
309
-    public function getZeroLineColor()
310
-    {
311
-        return $this->zeroLineColor;
312
-    }
313
-
314
-    /**
315
-     * @param string $zeroLineColor
316
-     *
317
-     * @return $this
318
-     */
319
-    public function setZeroLineColor($zeroLineColor)
320
-    {
321
-        $this->zeroLineColor = is_null($zeroLineColor) ? null : strval($zeroLineColor);
322
-
323
-        return $this;
324
-    }
325
-
326
-    /**
327
-     * @return bool
328
-     */
329
-    public function isOffsetGridLines()
330
-    {
331
-        return $this->offsetGridLines;
332
-    }
333
-
334
-    /**
335
-     * @param bool $offsetGridLines
336
-     *
337
-     * @return $this
338
-     */
339
-    public function setOffsetGridLines($offsetGridLines)
340
-    {
341
-        $this->offsetGridLines = boolval($offsetGridLines);
342
-
343
-        return $this;
344
-    }
345
-
346
-    /**
347
-     * @return string
348
-     * @throws \ReflectionException
349
-     * @throws \Zend_Reflection_Exception
350
-     */
351
-    public function jsonSerialize()
352
-    {
353
-        return Json::encode($this->getArrayCopy());
354
-    }
16
+	use ArraySerializable;
17
+
18
+	/**
19
+	 * @var bool
20
+	 */
21
+	private $display;
22
+
23
+	/**
24
+	 * @var string|string[]
25
+	 */
26
+	private $color;
27
+
28
+	/**
29
+	 * @var float[]
30
+	 */
31
+	private $borderDash;
32
+
33
+	/**
34
+	 * @var float
35
+	 */
36
+	private $borderDashOffset;
37
+
38
+	/**
39
+	 * @var int|int[]
40
+	 */
41
+	private $lineWidth;
42
+
43
+	/**
44
+	 * @var bool
45
+	 */
46
+	private $drawBorder;
47
+
48
+	/**
49
+	 * @var bool
50
+	 */
51
+	private $drawOnChartArea;
52
+
53
+	/**
54
+	 * @var bool
55
+	 */
56
+	private $drawTicks;
57
+
58
+	/**
59
+	 * @var int
60
+	 */
61
+	private $tickMarkLength;
62
+
63
+	/**
64
+	 * @var int
65
+	 */
66
+	private $zeroLineWidth;
67
+
68
+	/**
69
+	 * @var string
70
+	 */
71
+	private $zeroLineColor;
72
+
73
+	/**
74
+	 * @var bool
75
+	 */
76
+	private $offsetGridLines;
77
+
78
+	/**
79
+	 * @return bool
80
+	 */
81
+	public function isDisplay()
82
+	{
83
+		return $this->display;
84
+	}
85
+
86
+	/**
87
+	 * @param bool $display
88
+	 *
89
+	 * @return $this
90
+	 */
91
+	public function setDisplay($display)
92
+	{
93
+		$this->display = $display;
94
+
95
+		return $this;
96
+	}
97
+
98
+	/**
99
+	 * @return string|string[]
100
+	 */
101
+	public function getColor()
102
+	{
103
+		return $this->color;
104
+	}
105
+
106
+	/**
107
+	 * @param string|string[] $color
108
+	 *
109
+	 * @return $this
110
+	 */
111
+	public function setColor($color)
112
+	{
113
+		if (is_array($color)) {
114
+			array_walk_recursive(
115
+				$color,
116
+				function (&$value) {
117
+					$value = strval($value);
118
+				}
119
+			);
120
+			$this->color = $color;
121
+		} else {
122
+			$this->color = is_null($color) ? null : strval($color);
123
+		}
124
+
125
+		return $this;
126
+	}
127
+
128
+	/**
129
+	 * @return \float[]
130
+	 */
131
+	public function getBorderDash()
132
+	{
133
+		return $this->borderDash;
134
+	}
135
+
136
+	/**
137
+	 * @param \float[] $borderDash
138
+	 *
139
+	 * @return $this
140
+	 */
141
+	public function setBorderDash($borderDash)
142
+	{
143
+		if (is_array($borderDash)) {
144
+			array_walk_recursive(
145
+				$borderDash,
146
+				function (&$value) {
147
+					$value = floatval($value);
148
+				}
149
+			);
150
+			$this->borderDash = $borderDash;
151
+		}
152
+
153
+		return $this;
154
+	}
155
+
156
+	/**
157
+	 * @return float
158
+	 */
159
+	public function getBorderDashOffset()
160
+	{
161
+		return $this->borderDashOffset;
162
+	}
163
+
164
+	/**
165
+	 * @param float $borderDashOffset
166
+	 *
167
+	 * @return $this
168
+	 */
169
+	public function setBorderDashOffset($borderDashOffset)
170
+	{
171
+		$this->borderDashOffset = floatval($borderDashOffset);
172
+
173
+		return $this;
174
+	}
175
+
176
+	/**
177
+	 * @return int|int[]
178
+	 */
179
+	public function getLineWidth()
180
+	{
181
+		return $this->lineWidth;
182
+	}
183
+
184
+	/**
185
+	 * @param int|int[] $lineWidth
186
+	 *
187
+	 * @return $this
188
+	 */
189
+	public function setLineWidth($lineWidth)
190
+	{
191
+		if (is_array($lineWidth)) {
192
+			array_walk_recursive(
193
+				$lineWidth,
194
+				function (&$value) {
195
+					$value = intval($value);
196
+				}
197
+			);
198
+			$this->lineWidth = $lineWidth;
199
+		} else {
200
+			$this->lineWidth = is_null($lineWidth) ? null : intval($lineWidth);
201
+		}
202
+
203
+		return $this;
204
+	}
205
+
206
+	/**
207
+	 * @return bool
208
+	 */
209
+	public function isDrawBorder()
210
+	{
211
+		return $this->drawBorder;
212
+	}
213
+
214
+	/**
215
+	 * @param bool $drawBorder
216
+	 *
217
+	 * @return $this
218
+	 */
219
+	public function setDrawBorder($drawBorder)
220
+	{
221
+		$this->drawBorder = boolval($drawBorder);
222
+
223
+		return $this;
224
+	}
225
+
226
+	/**
227
+	 * @return bool
228
+	 */
229
+	public function isDrawOnChartArea()
230
+	{
231
+		return $this->drawOnChartArea;
232
+	}
233
+
234
+	/**
235
+	 * @param bool $drawOnChartArea
236
+	 *
237
+	 * @return $this
238
+	 */
239
+	public function setDrawOnChartArea($drawOnChartArea)
240
+	{
241
+		$this->drawOnChartArea = boolval($drawOnChartArea);
242
+
243
+		return $this;
244
+	}
245
+
246
+	/**
247
+	 * @return bool
248
+	 */
249
+	public function isDrawTicks()
250
+	{
251
+		return $this->drawTicks;
252
+	}
253
+
254
+	/**
255
+	 * @param bool $drawTicks
256
+	 *
257
+	 * @return $this
258
+	 */
259
+	public function setDrawTicks($drawTicks)
260
+	{
261
+		$this->drawTicks = boolval($drawTicks);
262
+
263
+		return $this;
264
+	}
265
+
266
+	/**
267
+	 * @return int
268
+	 */
269
+	public function getTickMarkLength()
270
+	{
271
+		return $this->tickMarkLength;
272
+	}
273
+
274
+	/**
275
+	 * @param int $tickMarkLength
276
+	 *
277
+	 * @return $this
278
+	 */
279
+	public function setTickMarkLength($tickMarkLength)
280
+	{
281
+		$this->tickMarkLength = intval($tickMarkLength);
282
+
283
+		return $this;
284
+	}
285
+
286
+	/**
287
+	 * @return int
288
+	 */
289
+	public function getZeroLineWidth()
290
+	{
291
+		return $this->zeroLineWidth;
292
+	}
293
+
294
+	/**
295
+	 * @param int $zeroLineWidth
296
+	 *
297
+	 * @return $this
298
+	 */
299
+	public function setZeroLineWidth($zeroLineWidth)
300
+	{
301
+		$this->zeroLineWidth = intval($zeroLineWidth);
302
+
303
+		return $this;
304
+	}
305
+
306
+	/**
307
+	 * @return string
308
+	 */
309
+	public function getZeroLineColor()
310
+	{
311
+		return $this->zeroLineColor;
312
+	}
313
+
314
+	/**
315
+	 * @param string $zeroLineColor
316
+	 *
317
+	 * @return $this
318
+	 */
319
+	public function setZeroLineColor($zeroLineColor)
320
+	{
321
+		$this->zeroLineColor = is_null($zeroLineColor) ? null : strval($zeroLineColor);
322
+
323
+		return $this;
324
+	}
325
+
326
+	/**
327
+	 * @return bool
328
+	 */
329
+	public function isOffsetGridLines()
330
+	{
331
+		return $this->offsetGridLines;
332
+	}
333
+
334
+	/**
335
+	 * @param bool $offsetGridLines
336
+	 *
337
+	 * @return $this
338
+	 */
339
+	public function setOffsetGridLines($offsetGridLines)
340
+	{
341
+		$this->offsetGridLines = boolval($offsetGridLines);
342
+
343
+		return $this;
344
+	}
345
+
346
+	/**
347
+	 * @return string
348
+	 * @throws \ReflectionException
349
+	 * @throws \Zend_Reflection_Exception
350
+	 */
351
+	public function jsonSerialize()
352
+	{
353
+		return Json::encode($this->getArrayCopy());
354
+	}
355 355
 }
Please login to merge, or discard this patch.
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.