1 | <?php |
||
25 | final class HighchartsData implements JsonSerializable { |
||
26 | |||
27 | /** |
||
28 | * Class name. |
||
29 | * |
||
30 | * @var string |
||
31 | * @since 5.0.0 |
||
32 | */ |
||
33 | private $className; |
||
34 | |||
35 | /** |
||
36 | * Color. |
||
37 | * |
||
38 | * @var string |
||
39 | */ |
||
40 | private $color; |
||
41 | |||
42 | /** |
||
43 | * Color index. |
||
44 | * |
||
45 | * @var integer |
||
46 | * @since 5.0.0 |
||
47 | */ |
||
48 | private $colorIndex; |
||
49 | |||
50 | /** |
||
51 | * Data labels. |
||
52 | * |
||
53 | * @var array |
||
54 | */ |
||
55 | private $dataLabels; |
||
56 | |||
57 | /** |
||
58 | * Description. |
||
59 | * |
||
60 | * @var string |
||
61 | * @since 5.0.0 |
||
62 | */ |
||
63 | private $description; |
||
64 | |||
65 | /** |
||
66 | * Drilldown. |
||
67 | * |
||
68 | * @var string |
||
69 | * @since 3.0.8 |
||
70 | */ |
||
71 | private $drilldown; |
||
72 | |||
73 | /** |
||
74 | * Events. |
||
75 | * |
||
76 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Waterfall\Data\HighchartsEvents |
||
77 | */ |
||
78 | private $events; |
||
79 | |||
80 | /** |
||
81 | * Id. |
||
82 | * |
||
83 | * @var string |
||
84 | * @since 1.2.0 |
||
85 | */ |
||
86 | private $id; |
||
87 | |||
88 | /** |
||
89 | * Is intermediate sum. |
||
90 | * |
||
91 | * @var boolean |
||
92 | */ |
||
93 | private $isIntermediateSum = false; |
||
94 | |||
95 | /** |
||
96 | * Is sum. |
||
97 | * |
||
98 | * @var boolean |
||
99 | */ |
||
100 | private $isSum = false; |
||
101 | |||
102 | /** |
||
103 | * Labelrank. |
||
104 | * |
||
105 | * @var integer |
||
106 | */ |
||
107 | private $labelrank; |
||
108 | |||
109 | /** |
||
110 | * Name. |
||
111 | * |
||
112 | * @var string |
||
113 | */ |
||
114 | private $name; |
||
115 | |||
116 | /** |
||
117 | * Selected. |
||
118 | * |
||
119 | * @var boolean |
||
120 | */ |
||
121 | private $selected = false; |
||
122 | |||
123 | /** |
||
124 | * X. |
||
125 | * |
||
126 | * @var integer |
||
127 | */ |
||
128 | private $x; |
||
129 | |||
130 | /** |
||
131 | * Y. |
||
132 | * |
||
133 | * @var integer |
||
134 | */ |
||
135 | private $y; |
||
136 | |||
137 | /** |
||
138 | * Constructor. |
||
139 | * |
||
140 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
141 | */ |
||
142 | public function __construct($ignoreDefaultValues = true) { |
||
147 | |||
148 | /** |
||
149 | * Clear. |
||
150 | * |
||
151 | * @return void |
||
152 | */ |
||
153 | public function clear() { |
||
202 | |||
203 | /** |
||
204 | * Get the class name. |
||
205 | * |
||
206 | * @return string Returns the class name. |
||
207 | */ |
||
208 | public function getClassName() { |
||
211 | |||
212 | /** |
||
213 | * Get the color. |
||
214 | * |
||
215 | * @return string Returns the color. |
||
216 | */ |
||
217 | public function getColor() { |
||
220 | |||
221 | /** |
||
222 | * Get the color index. |
||
223 | * |
||
224 | * @return integer Returns the color index. |
||
225 | */ |
||
226 | public function getColorIndex() { |
||
229 | |||
230 | /** |
||
231 | * Get the data labels. |
||
232 | * |
||
233 | * @return array Returns the data labels. |
||
234 | */ |
||
235 | public function getDataLabels() { |
||
238 | |||
239 | /** |
||
240 | * Get the description. |
||
241 | * |
||
242 | * @return string Returns the description. |
||
243 | */ |
||
244 | public function getDescription() { |
||
247 | |||
248 | /** |
||
249 | * Get the drilldown. |
||
250 | * |
||
251 | * @return string Returns the drilldown. |
||
252 | */ |
||
253 | public function getDrilldown() { |
||
256 | |||
257 | /** |
||
258 | * Get the events. |
||
259 | * |
||
260 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Waterfall\Data\HighchartsEvents Returns the events. |
||
261 | */ |
||
262 | public function getEvents() { |
||
265 | |||
266 | /** |
||
267 | * Get the id. |
||
268 | * |
||
269 | * @return string Returns the id. |
||
270 | */ |
||
271 | public function getId() { |
||
274 | |||
275 | /** |
||
276 | * Get the is intermediate sum. |
||
277 | * |
||
278 | * @return boolean Returns the is intermediate sum. |
||
279 | */ |
||
280 | public function getIntermediateSum() { |
||
283 | |||
284 | /** |
||
285 | * Get the is sum. |
||
286 | * |
||
287 | * @return boolean Returns the is sum. |
||
288 | */ |
||
289 | public function getSum() { |
||
292 | |||
293 | /** |
||
294 | * Get the labelrank. |
||
295 | * |
||
296 | * @return integer Returns the labelrank. |
||
297 | */ |
||
298 | public function getLabelrank() { |
||
301 | |||
302 | /** |
||
303 | * Get the name. |
||
304 | * |
||
305 | * @return string Returns the name. |
||
306 | */ |
||
307 | public function getName() { |
||
310 | |||
311 | /** |
||
312 | * Get the selected. |
||
313 | * |
||
314 | * @return boolean Returns the selected. |
||
315 | */ |
||
316 | public function getSelected() { |
||
319 | |||
320 | /** |
||
321 | * Get the x. |
||
322 | * |
||
323 | * @return integer Returns the x. |
||
324 | */ |
||
325 | public function getX() { |
||
328 | |||
329 | /** |
||
330 | * Get the y. |
||
331 | * |
||
332 | * @return integer Returns the y. |
||
333 | */ |
||
334 | public function getY() { |
||
337 | |||
338 | /** |
||
339 | * Serialize this instance. |
||
340 | * |
||
341 | * @return array Returns an array representing this instance. |
||
342 | */ |
||
343 | public function jsonSerialize() { |
||
346 | |||
347 | /** |
||
348 | * Create a new events. |
||
349 | * |
||
350 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Waterfall\Data\HighchartsEvents Returns the events. |
||
351 | */ |
||
352 | public function newEvents() { |
||
356 | |||
357 | /** |
||
358 | * Set the class name. |
||
359 | * |
||
360 | * @param string $className The class name. |
||
361 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Waterfall\HighchartsData Returns the highcharts data. |
||
362 | */ |
||
363 | public function setClassName($className) { |
||
367 | |||
368 | /** |
||
369 | * Set the color. |
||
370 | * |
||
371 | * @param string $color The color. |
||
372 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Waterfall\HighchartsData Returns the highcharts data. |
||
373 | */ |
||
374 | public function setColor($color) { |
||
378 | |||
379 | /** |
||
380 | * Set the color index. |
||
381 | * |
||
382 | * @param integer $colorIndex The color index. |
||
383 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Waterfall\HighchartsData Returns the highcharts data. |
||
384 | */ |
||
385 | public function setColorIndex($colorIndex) { |
||
389 | |||
390 | /** |
||
391 | * Set the data labels. |
||
392 | * |
||
393 | * @param array $dataLabels The data labels. |
||
394 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Waterfall\HighchartsData Returns the highcharts data. |
||
395 | */ |
||
396 | public function setDataLabels(array $dataLabels = null) { |
||
400 | |||
401 | /** |
||
402 | * Set the description. |
||
403 | * |
||
404 | * @param string $description The description. |
||
405 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Waterfall\HighchartsData Returns the highcharts data. |
||
406 | */ |
||
407 | public function setDescription($description) { |
||
411 | |||
412 | /** |
||
413 | * Set the drilldown. |
||
414 | * |
||
415 | * @param string $drilldown The drilldown. |
||
416 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Waterfall\HighchartsData Returns the highcharts data. |
||
417 | */ |
||
418 | public function setDrilldown($drilldown) { |
||
422 | |||
423 | /** |
||
424 | * Set the events. |
||
425 | * |
||
426 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Waterfall\Data\HighchartsEvents $events The events. |
||
427 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Waterfall\HighchartsData Returns the highcharts data. |
||
428 | */ |
||
429 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Waterfall\Data\HighchartsEvents $events = null) { |
||
433 | |||
434 | /** |
||
435 | * Set the id. |
||
436 | * |
||
437 | * @param string $id The id. |
||
438 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Waterfall\HighchartsData Returns the highcharts data. |
||
439 | */ |
||
440 | public function setId($id) { |
||
444 | |||
445 | /** |
||
446 | * Set the is intermediate sum. |
||
447 | * |
||
448 | * @param boolean $isIntermediateSum The is intermediate sum. |
||
449 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Waterfall\HighchartsData Returns the highcharts data. |
||
450 | */ |
||
451 | public function setIntermediateSum($isIntermediateSum) { |
||
455 | |||
456 | /** |
||
457 | * Set the is sum. |
||
458 | * |
||
459 | * @param boolean $isSum The is sum. |
||
460 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Waterfall\HighchartsData Returns the highcharts data. |
||
461 | */ |
||
462 | public function setSum($isSum) { |
||
466 | |||
467 | /** |
||
468 | * Set the labelrank. |
||
469 | * |
||
470 | * @param integer $labelrank The labelrank. |
||
471 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Waterfall\HighchartsData Returns the highcharts data. |
||
472 | */ |
||
473 | public function setLabelrank($labelrank) { |
||
477 | |||
478 | /** |
||
479 | * Set the name. |
||
480 | * |
||
481 | * @param string $name The name. |
||
482 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Waterfall\HighchartsData Returns the highcharts data. |
||
483 | */ |
||
484 | public function setName($name) { |
||
488 | |||
489 | /** |
||
490 | * Set the selected. |
||
491 | * |
||
492 | * @param boolean $selected The selected. |
||
493 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Waterfall\HighchartsData Returns the highcharts data. |
||
494 | */ |
||
495 | public function setSelected($selected) { |
||
499 | |||
500 | /** |
||
501 | * Set the x. |
||
502 | * |
||
503 | * @param integer $x The x. |
||
504 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Waterfall\HighchartsData Returns the highcharts data. |
||
505 | */ |
||
506 | public function setX($x) { |
||
510 | |||
511 | /** |
||
512 | * Set the y. |
||
513 | * |
||
514 | * @param integer $y The y. |
||
515 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Waterfall\HighchartsData Returns the highcharts data. |
||
516 | */ |
||
517 | public function setY($y) { |
||
521 | |||
522 | /** |
||
523 | * Convert into an array representing this instance. |
||
524 | * |
||
525 | * @return array Returns an array representing this instance. |
||
526 | */ |
||
527 | public function toArray() { |
||
582 | |||
583 | } |
||
584 |
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..