1 | <?php |
||
25 | final class HighchartsSubtitle implements JsonSerializable { |
||
26 | |||
27 | /** |
||
28 | * Align. |
||
29 | * |
||
30 | * @var string |
||
31 | * @since 2.0 |
||
32 | */ |
||
33 | private $align = "center"; |
||
34 | |||
35 | /** |
||
36 | * Floating. |
||
37 | * |
||
38 | * @var boolean |
||
39 | * @since 2.1 |
||
40 | */ |
||
41 | private $floating = false; |
||
42 | |||
43 | /** |
||
44 | * Style. |
||
45 | * |
||
46 | * @var array |
||
47 | */ |
||
48 | private $style = ["color" => "#666666"]; |
||
49 | |||
50 | /** |
||
51 | * Text. |
||
52 | * |
||
53 | * @var string |
||
54 | */ |
||
55 | private $text; |
||
56 | |||
57 | /** |
||
58 | * Use HTML. |
||
59 | * |
||
60 | * @var boolean |
||
61 | */ |
||
62 | private $useHTML = false; |
||
63 | |||
64 | /** |
||
65 | * Vertical align. |
||
66 | * |
||
67 | * @var string |
||
68 | * @since 2.1 |
||
69 | */ |
||
70 | private $verticalAlign; |
||
71 | |||
72 | /** |
||
73 | * Width adjust. |
||
74 | * |
||
75 | * @var integer |
||
76 | * @since 4.2.5 |
||
77 | */ |
||
78 | private $widthAdjust = -44; |
||
79 | |||
80 | /** |
||
81 | * X. |
||
82 | * |
||
83 | * @var integer |
||
84 | * @since 2.0 |
||
85 | */ |
||
86 | private $x = 0; |
||
87 | |||
88 | /** |
||
89 | * Y. |
||
90 | * |
||
91 | * @var integer |
||
92 | * @since 2.0 |
||
93 | */ |
||
94 | private $y; |
||
95 | |||
96 | /** |
||
97 | * Constructor. |
||
98 | * |
||
99 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
100 | */ |
||
101 | public function __construct($ignoreDefaultValues = true) { |
||
106 | |||
107 | /** |
||
108 | * Clear. |
||
109 | * |
||
110 | * @return void |
||
111 | */ |
||
112 | public function clear() { |
||
141 | |||
142 | /** |
||
143 | * Get the align. |
||
144 | * |
||
145 | * @return string Returns the align. |
||
146 | */ |
||
147 | public function getAlign() { |
||
150 | |||
151 | /** |
||
152 | * Get the floating. |
||
153 | * |
||
154 | * @return boolean Returns the floating. |
||
155 | */ |
||
156 | public function getFloating() { |
||
159 | |||
160 | /** |
||
161 | * Get the style. |
||
162 | * |
||
163 | * @return array Returns the style. |
||
164 | */ |
||
165 | public function getStyle() { |
||
168 | |||
169 | /** |
||
170 | * Get the text. |
||
171 | * |
||
172 | * @return string Returns the text. |
||
173 | */ |
||
174 | public function getText() { |
||
177 | |||
178 | /** |
||
179 | * Get the use HTML. |
||
180 | * |
||
181 | * @return boolean Returns the use HTML. |
||
182 | */ |
||
183 | public function getUseHTML() { |
||
186 | |||
187 | /** |
||
188 | * Get the vertical align. |
||
189 | * |
||
190 | * @return string Returns the vertical align. |
||
191 | */ |
||
192 | public function getVerticalAlign() { |
||
195 | |||
196 | /** |
||
197 | * Get the width adjust. |
||
198 | * |
||
199 | * @return integer Returns the width adjust. |
||
200 | */ |
||
201 | public function getWidthAdjust() { |
||
204 | |||
205 | /** |
||
206 | * Get the x. |
||
207 | * |
||
208 | * @return integer Returns the x. |
||
209 | */ |
||
210 | public function getX() { |
||
213 | |||
214 | /** |
||
215 | * Get the y. |
||
216 | * |
||
217 | * @return integer Returns the y. |
||
218 | */ |
||
219 | public function getY() { |
||
222 | |||
223 | /** |
||
224 | * Serialize this instance. |
||
225 | * |
||
226 | * @return array Returns an array representing this instance. |
||
227 | */ |
||
228 | public function jsonSerialize() { |
||
231 | |||
232 | /** |
||
233 | * Set the align. |
||
234 | * |
||
235 | * @param string $align The align. |
||
236 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsSubtitle Returns the highcharts subtitle. |
||
237 | */ |
||
238 | public function setAlign($align) { |
||
248 | |||
249 | /** |
||
250 | * Set the floating. |
||
251 | * |
||
252 | * @param boolean $floating The floating. |
||
253 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsSubtitle Returns the highcharts subtitle. |
||
254 | */ |
||
255 | public function setFloating($floating) { |
||
259 | |||
260 | /** |
||
261 | * Set the style. |
||
262 | * |
||
263 | * @param array $style The style. |
||
264 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsSubtitle Returns the highcharts subtitle. |
||
265 | */ |
||
266 | public function setStyle(array $style = null) { |
||
270 | |||
271 | /** |
||
272 | * Set the text. |
||
273 | * |
||
274 | * @param string $text The text. |
||
275 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsSubtitle Returns the highcharts subtitle. |
||
276 | */ |
||
277 | public function setText($text) { |
||
281 | |||
282 | /** |
||
283 | * Set the use HTML. |
||
284 | * |
||
285 | * @param boolean $useHTML The use HTML. |
||
286 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsSubtitle Returns the highcharts subtitle. |
||
287 | */ |
||
288 | public function setUseHTML($useHTML) { |
||
292 | |||
293 | /** |
||
294 | * Set the vertical align. |
||
295 | * |
||
296 | * @param string $verticalAlign The vertical align. |
||
297 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsSubtitle Returns the highcharts subtitle. |
||
298 | */ |
||
299 | public function setVerticalAlign($verticalAlign) { |
||
309 | |||
310 | /** |
||
311 | * Set the width adjust. |
||
312 | * |
||
313 | * @param integer $widthAdjust The width adjust. |
||
314 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsSubtitle Returns the highcharts subtitle. |
||
315 | */ |
||
316 | public function setWidthAdjust($widthAdjust) { |
||
320 | |||
321 | /** |
||
322 | * Set the x. |
||
323 | * |
||
324 | * @param integer $x The x. |
||
325 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsSubtitle Returns the highcharts subtitle. |
||
326 | */ |
||
327 | public function setX($x) { |
||
331 | |||
332 | /** |
||
333 | * Set the y. |
||
334 | * |
||
335 | * @param integer $y The y. |
||
336 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsSubtitle Returns the highcharts subtitle. |
||
337 | */ |
||
338 | public function setY($y) { |
||
342 | |||
343 | /** |
||
344 | * Convert into an array representing this instance. |
||
345 | * |
||
346 | * @return array Returns an array representing this instance. |
||
347 | */ |
||
348 | public function toArray() { |
||
383 | |||
384 | } |
||
385 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..