1 | <?php |
||
25 | final class HighchartsButtonOptions implements JsonSerializable { |
||
26 | |||
27 | /** |
||
28 | * Align. |
||
29 | * |
||
30 | * @var string |
||
31 | * @since 2.0 |
||
32 | */ |
||
33 | private $align = "right"; |
||
34 | |||
35 | /** |
||
36 | * Enabled. |
||
37 | * |
||
38 | * @var boolean |
||
39 | * @since 2.0 |
||
40 | */ |
||
41 | private $enabled = true; |
||
42 | |||
43 | /** |
||
44 | * Height. |
||
45 | * |
||
46 | * @var integer |
||
47 | * @since 2.0 |
||
48 | */ |
||
49 | private $height = 20; |
||
50 | |||
51 | /** |
||
52 | * Symbol fill. |
||
53 | * |
||
54 | * @var string |
||
55 | * @since 2.0 |
||
56 | */ |
||
57 | private $symbolFill = "#666666"; |
||
58 | |||
59 | /** |
||
60 | * Symbol size. |
||
61 | * |
||
62 | * @var integer |
||
63 | * @since 2.0 |
||
64 | */ |
||
65 | private $symbolSize = 14; |
||
66 | |||
67 | /** |
||
68 | * Symbol stroke. |
||
69 | * |
||
70 | * @var string |
||
71 | * @since 2.0 |
||
72 | */ |
||
73 | private $symbolStroke = "#666666"; |
||
74 | |||
75 | /** |
||
76 | * Symbol stroke width. |
||
77 | * |
||
78 | * @var integer |
||
79 | * @since 2.0 |
||
80 | */ |
||
81 | private $symbolStrokeWidth = 1; |
||
82 | |||
83 | /** |
||
84 | * Symbol x. |
||
85 | * |
||
86 | * @var integer |
||
87 | * @since 2.0 |
||
88 | */ |
||
89 | private $symbolX = 12.5; |
||
90 | |||
91 | /** |
||
92 | * Symbol y. |
||
93 | * |
||
94 | * @var integer |
||
95 | * @since 2.0 |
||
96 | */ |
||
97 | private $symbolY = 10.5; |
||
98 | |||
99 | /** |
||
100 | * Text. |
||
101 | * |
||
102 | * @var string |
||
103 | * @since 3.0 |
||
104 | */ |
||
105 | private $text; |
||
106 | |||
107 | /** |
||
108 | * Theme. |
||
109 | * |
||
110 | * @var array |
||
111 | * @since 3.0 |
||
112 | */ |
||
113 | private $theme; |
||
114 | |||
115 | /** |
||
116 | * Vertical align. |
||
117 | * |
||
118 | * @var string |
||
119 | * @since 2.0 |
||
120 | */ |
||
121 | private $verticalAlign = "top"; |
||
122 | |||
123 | /** |
||
124 | * Width. |
||
125 | * |
||
126 | * @var integer |
||
127 | * @since 2.0 |
||
128 | */ |
||
129 | private $width = 24; |
||
130 | |||
131 | /** |
||
132 | * Y. |
||
133 | * |
||
134 | * @var integer |
||
135 | * @since 2.0 |
||
136 | */ |
||
137 | private $y = 0; |
||
138 | |||
139 | /** |
||
140 | * Constructor. |
||
141 | * |
||
142 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
143 | */ |
||
144 | public function __construct($ignoreDefaultValues = true) { |
||
149 | |||
150 | /** |
||
151 | * Clear. |
||
152 | * |
||
153 | * @return void |
||
154 | */ |
||
155 | public function clear() { |
||
199 | |||
200 | /** |
||
201 | * Get the align. |
||
202 | * |
||
203 | * @return string Returns the align. |
||
204 | */ |
||
205 | public function getAlign() { |
||
208 | |||
209 | /** |
||
210 | * Get the enabled. |
||
211 | * |
||
212 | * @return boolean Returns the enabled. |
||
213 | */ |
||
214 | public function getEnabled() { |
||
217 | |||
218 | /** |
||
219 | * Get the height. |
||
220 | * |
||
221 | * @return integer Returns the height. |
||
222 | */ |
||
223 | public function getHeight() { |
||
226 | |||
227 | /** |
||
228 | * Get the symbol fill. |
||
229 | * |
||
230 | * @return string Returns the symbol fill. |
||
231 | */ |
||
232 | public function getSymbolFill() { |
||
235 | |||
236 | /** |
||
237 | * Get the symbol size. |
||
238 | * |
||
239 | * @return integer Returns the symbol size. |
||
240 | */ |
||
241 | public function getSymbolSize() { |
||
244 | |||
245 | /** |
||
246 | * Get the symbol stroke. |
||
247 | * |
||
248 | * @return string Returns the symbol stroke. |
||
249 | */ |
||
250 | public function getSymbolStroke() { |
||
253 | |||
254 | /** |
||
255 | * Get the symbol stroke width. |
||
256 | * |
||
257 | * @return integer Returns the symbol stroke width. |
||
258 | */ |
||
259 | public function getSymbolStrokeWidth() { |
||
262 | |||
263 | /** |
||
264 | * Get the symbol x. |
||
265 | * |
||
266 | * @return integer Returns the symbol x. |
||
267 | */ |
||
268 | public function getSymbolX() { |
||
271 | |||
272 | /** |
||
273 | * Get the symbol y. |
||
274 | * |
||
275 | * @return integer Returns the symbol y. |
||
276 | */ |
||
277 | public function getSymbolY() { |
||
280 | |||
281 | /** |
||
282 | * Get the text. |
||
283 | * |
||
284 | * @return string Returns the text. |
||
285 | */ |
||
286 | public function getText() { |
||
289 | |||
290 | /** |
||
291 | * Get the theme. |
||
292 | * |
||
293 | * @return array Returns the theme. |
||
294 | */ |
||
295 | public function getTheme() { |
||
298 | |||
299 | /** |
||
300 | * Get the vertical align. |
||
301 | * |
||
302 | * @return string Returns the vertical align. |
||
303 | */ |
||
304 | public function getVerticalAlign() { |
||
307 | |||
308 | /** |
||
309 | * Get the width. |
||
310 | * |
||
311 | * @return integer Returns the width. |
||
312 | */ |
||
313 | public function getWidth() { |
||
316 | |||
317 | /** |
||
318 | * Get the y. |
||
319 | * |
||
320 | * @return integer Returns the y. |
||
321 | */ |
||
322 | public function getY() { |
||
325 | |||
326 | /** |
||
327 | * Serialize this instance. |
||
328 | * |
||
329 | * @return array Returns an array representing this instance. |
||
330 | */ |
||
331 | public function jsonSerialize() { |
||
334 | |||
335 | /** |
||
336 | * Set the align. |
||
337 | * |
||
338 | * @param string $align The align. |
||
339 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Navigation\HighchartsButtonOptions Returns the highcharts button options. |
||
340 | */ |
||
341 | public function setAlign($align) { |
||
351 | |||
352 | /** |
||
353 | * Set the enabled. |
||
354 | * |
||
355 | * @param boolean $enabled The enabled. |
||
356 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Navigation\HighchartsButtonOptions Returns the highcharts button options. |
||
357 | */ |
||
358 | public function setEnabled($enabled) { |
||
362 | |||
363 | /** |
||
364 | * Set the height. |
||
365 | * |
||
366 | * @param integer $height The height. |
||
367 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Navigation\HighchartsButtonOptions Returns the highcharts button options. |
||
368 | */ |
||
369 | public function setHeight($height) { |
||
373 | |||
374 | /** |
||
375 | * Set the symbol fill. |
||
376 | * |
||
377 | * @param string $symbolFill The symbol fill. |
||
378 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Navigation\HighchartsButtonOptions Returns the highcharts button options. |
||
379 | */ |
||
380 | public function setSymbolFill($symbolFill) { |
||
384 | |||
385 | /** |
||
386 | * Set the symbol size. |
||
387 | * |
||
388 | * @param integer $symbolSize The symbol size. |
||
389 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Navigation\HighchartsButtonOptions Returns the highcharts button options. |
||
390 | */ |
||
391 | public function setSymbolSize($symbolSize) { |
||
395 | |||
396 | /** |
||
397 | * Set the symbol stroke. |
||
398 | * |
||
399 | * @param string $symbolStroke The symbol stroke. |
||
400 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Navigation\HighchartsButtonOptions Returns the highcharts button options. |
||
401 | */ |
||
402 | public function setSymbolStroke($symbolStroke) { |
||
406 | |||
407 | /** |
||
408 | * Set the symbol stroke width. |
||
409 | * |
||
410 | * @param integer $symbolStrokeWidth The symbol stroke width. |
||
411 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Navigation\HighchartsButtonOptions Returns the highcharts button options. |
||
412 | */ |
||
413 | public function setSymbolStrokeWidth($symbolStrokeWidth) { |
||
417 | |||
418 | /** |
||
419 | * Set the symbol x. |
||
420 | * |
||
421 | * @param integer $symbolX The symbol x. |
||
422 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Navigation\HighchartsButtonOptions Returns the highcharts button options. |
||
423 | */ |
||
424 | public function setSymbolX($symbolX) { |
||
428 | |||
429 | /** |
||
430 | * Set the symbol y. |
||
431 | * |
||
432 | * @param integer $symbolY The symbol y. |
||
433 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Navigation\HighchartsButtonOptions Returns the highcharts button options. |
||
434 | */ |
||
435 | public function setSymbolY($symbolY) { |
||
439 | |||
440 | /** |
||
441 | * Set the text. |
||
442 | * |
||
443 | * @param string $text The text. |
||
444 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Navigation\HighchartsButtonOptions Returns the highcharts button options. |
||
445 | */ |
||
446 | public function setText($text) { |
||
450 | |||
451 | /** |
||
452 | * Set the theme. |
||
453 | * |
||
454 | * @param array $theme The theme. |
||
455 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Navigation\HighchartsButtonOptions Returns the highcharts button options. |
||
456 | */ |
||
457 | public function setTheme(array $theme = null) { |
||
461 | |||
462 | /** |
||
463 | * Set the vertical align. |
||
464 | * |
||
465 | * @param string $verticalAlign The vertical align. |
||
466 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Navigation\HighchartsButtonOptions Returns the highcharts button options. |
||
467 | */ |
||
468 | public function setVerticalAlign($verticalAlign) { |
||
478 | |||
479 | /** |
||
480 | * Set the width. |
||
481 | * |
||
482 | * @param integer $width The width. |
||
483 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Navigation\HighchartsButtonOptions Returns the highcharts button options. |
||
484 | */ |
||
485 | public function setWidth($width) { |
||
489 | |||
490 | /** |
||
491 | * Set the y. |
||
492 | * |
||
493 | * @param integer $y The y. |
||
494 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Navigation\HighchartsButtonOptions Returns the highcharts button options. |
||
495 | */ |
||
496 | public function setY($y) { |
||
500 | |||
501 | /** |
||
502 | * Convert into an array representing this instance. |
||
503 | * |
||
504 | * @return array Returns an array representing this instance. |
||
505 | */ |
||
506 | public function toArray() { |
||
556 | |||
557 | } |
||
558 |
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..