Issues (1377)

Security Analysis    no request data  

This project does not seem to handle request data directly as such no vulnerable execution paths were found.

  Cross-Site Scripting
Cross-Site Scripting enables an attacker to inject code into the response of a web-request that is viewed by other users. It can for example be used to bypass access controls, or even to take over other users' accounts.
  File Exposure
File Exposure allows an attacker to gain access to local files that he should not be able to access. These files can for example include database credentials, or other configuration files.
  File Manipulation
File Manipulation enables an attacker to write custom data to files. This potentially leads to injection of arbitrary code on the server.
  Object Injection
Object Injection enables an attacker to inject an object into PHP code, and can lead to arbitrary code execution, file exposure, or file manipulation attacks.
  Code Injection
Code Injection enables an attacker to execute arbitrary code on the server.
  Response Splitting
Response Splitting can be used to send arbitrary responses.
  File Inclusion
File Inclusion enables an attacker to inject custom files into PHP's file loading mechanism, either explicitly passed to include, or for example via PHP's auto-loading mechanism.
  Command Injection
Command Injection enables an attacker to inject a shell command that is execute with the privileges of the web-server. This can be used to expose sensitive data, or gain access of your server.
  SQL Injection
SQL Injection enables an attacker to execute arbitrary SQL code on your database server gaining access to user data, or manipulating user data.
  XPath Injection
XPath Injection enables an attacker to modify the parts of XML document that are read. If that XML document is for example used for authentication, this can lead to further vulnerabilities similar to SQL Injection.
  LDAP Injection
LDAP Injection enables an attacker to inject LDAP statements potentially granting permission to run unauthorized queries, or modify content inside the LDAP tree.
  Header Injection
  Other Vulnerability
This category comprises other attack vectors such as manipulating the PHP runtime, loading custom extensions, freezing the runtime, or similar.
  Regex Injection
Regex Injection enables an attacker to execute arbitrary code in your PHP process.
  XML Injection
XML Injection enables an attacker to read files on your local filesystem including configuration files, or can be abused to freeze your web-server process.
  Variable Injection
Variable Injection enables an attacker to overwrite program variables with custom data, and can lead to further vulnerabilities.
Unfortunately, the security analysis is currently not available for your project. If you are a non-commercial open-source project, please contact support to gain access.

API/Chart/Series/HighchartsBoxplot.php (10 issues)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
/**
4
 * This file is part of the highcharts-bundle package.
5
 *
6
 * (c) 2017 WEBEWEB
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace WBW\Bundle\HighchartsBundle\API\Chart\Series;
13
14
use JsonSerializable;
15
use WBW\Library\Core\Utility\Argument\ArrayUtility;
16
17
/**
18
 * Highcharts boxplot.
19
 *
20
 * @author webeweb <https://github.com/webeweb/>
21
 * @package WBW\Bundle\HighchartsBundle\API\Chart\Series
22
 * @version 5.0.14
23
 * @final
24
 */
25
final class HighchartsBoxplot implements JsonSerializable {
26
27
    /**
28
     * Allow point select.
29
     *
30
     * @var boolean
31
     * @since 1.2.0
32
     */
33
    private $allowPointSelect = false;
34
35
    /**
36
     * Animation limit.
37
     *
38
     * @var integer
39
     */
40
    private $animationLimit;
41
42
    /**
43
     * Class name.
44
     *
45
     * @var string
46
     * @since 5.0.0
47
     */
48
    private $className;
49
50
    /**
51
     * Color.
52
     *
53
     * @var string
54
     */
55
    private $color;
56
57
    /**
58
     * Color by point.
59
     *
60
     * @var boolean
61
     * @since 2.0
62
     */
63
    private $colorByPoint = false;
64
65
    /**
66
     * Color index.
67
     *
68
     * @var integer
69
     * @since 5.0.0
70
     */
71
    private $colorIndex;
72
73
    /**
74
     * Colors.
75
     *
76
     * @var array
77
     * @since 3.0
78
     */
79
    private $colors;
80
81
    /**
82
     * Crisp.
83
     *
84
     * @var boolean
85
     * @since 5.0.10
86
     */
87
    private $crisp = true;
88
89
    /**
90
     * Cursor.
91
     *
92
     * @var string
93
     */
94
    private $cursor;
95
96
    /**
97
     * Data.
98
     *
99
     * @var array
100
     */
101
    private $data;
102
103
    /**
104
     * Depth.
105
     *
106
     * @var integer
107
     * @since 4.0
108
     */
109
    private $depth = 25;
110
111
    /**
112
     * Description.
113
     *
114
     * @var string
115
     * @since 5.0.0
116
     */
117
    private $description;
118
119
    /**
120
     * Edge color.
121
     *
122
     * @var string
123
     */
124
    private $edgeColor;
125
126
    /**
127
     * Edge width.
128
     *
129
     * @var integer
130
     */
131
    private $edgeWidth = 1;
132
133
    /**
134
     * Enable mouse tracking.
135
     *
136
     * @var boolean
137
     */
138
    private $enableMouseTracking = true;
139
140
    /**
141
     * Events.
142
     *
143
     * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Boxplot\HighchartsEvents
144
     */
145
    private $events;
146
147
    /**
148
     * Expose element to a11y.
149
     *
150
     * @var boolean
151
     * @since 5.0.12
152
     */
153
    private $exposeElementToA11y;
154
155
    /**
156
     * Fill color.
157
     *
158
     * @var string
159
     * @since 3.0
160
     */
161
    private $fillColor = "#ffffff";
162
163
    /**
164
     * Find nearest point by.
165
     *
166
     * @var string
167
     * @since 5.0.10
168
     */
169
    private $findNearestPointBy;
170
171
    /**
172
     * Get extremes from all.
173
     *
174
     * @var boolean
175
     * @since 4.1.6
176
     */
177
    private $getExtremesFromAll = false;
178
179
    /**
180
     * Group padding.
181
     *
182
     * @var integer
183
     */
184
    private $groupPadding = 0.2;
185
186
    /**
187
     * Group z padding.
188
     *
189
     * @var integer
190
     * @since 4.0
191
     */
192
    private $groupZPadding = 1;
193
194
    /**
195
     * Grouping.
196
     *
197
     * @var boolean
198
     * @since 2.3.0
199
     */
200
    private $grouping = true;
201
202
    /**
203
     * Id.
204
     *
205
     * @var string
206
     * @since 1.2.0
207
     */
208
    private $id;
209
210
    /**
211
     * Index.
212
     *
213
     * @var integer
214
     * @since 2.3.0
215
     */
216
    private $index;
217
218
    /**
219
     * Keys.
220
     *
221
     * @var array
222
     * @since 4.1.6
223
     */
224
    private $keys;
225
226
    /**
227
     * Legend index.
228
     *
229
     * @var integer
230
     */
231
    private $legendIndex;
232
233
    /**
234
     * Line width.
235
     *
236
     * @var integer
237
     * @since 3.0
238
     */
239
    private $lineWidth = 1;
240
241
    /**
242
     * Linked to.
243
     *
244
     * @var string
245
     * @since 3.0
246
     */
247
    private $linkedTo;
248
249
    /**
250
     * Max point width.
251
     *
252
     * @var integer
253
     * @since 4.1.8
254
     */
255
    private $maxPointWidth;
256
257
    /**
258
     * Median color.
259
     *
260
     * @var string
261
     * @since 3.0
262
     */
263
    private $medianColor;
264
265
    /**
266
     * Median width.
267
     *
268
     * @var integer
269
     * @since 3.0
270
     */
271
    private $medianWidth = 2;
272
273
    /**
274
     * Name.
275
     *
276
     * @var string
277
     */
278
    private $name;
279
280
    /**
281
     * Negative color.
282
     *
283
     * @var string
284
     * @since 3.0
285
     */
286
    private $negativeColor;
287
288
    /**
289
     * Point.
290
     *
291
     * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Boxplot\HighchartsPoint
292
     */
293
    private $point;
294
295
    /**
296
     * Point description formatter.
297
     *
298
     * @var string
299
     * @since 5.0.12
300
     */
301
    private $pointDescriptionFormatter;
302
303
    /**
304
     * Point interval.
305
     *
306
     * @var integer
307
     */
308
    private $pointInterval = 1;
309
310
    /**
311
     * Point interval unit.
312
     *
313
     * @var string
314
     * @since 4.1.0
315
     */
316
    private $pointIntervalUnit;
317
318
    /**
319
     * Point padding.
320
     *
321
     * @var integer
322
     */
323
    private $pointPadding = 0.1;
324
325
    /**
326
     * Point placement.
327
     *
328
     * @var string|integer
329
     * @since 2.3.0
330
     */
331
    private $pointPlacement;
332
333
    /**
334
     * Point range.
335
     *
336
     * @var integer
337
     * @since 2.3
338
     */
339
    private $pointRange;
340
341
    /**
342
     * Point start.
343
     *
344
     * @var integer
345
     */
346
    private $pointStart = 0;
347
348
    /**
349
     * Point width.
350
     *
351
     * @var integer
352
     * @since 1.2.5
353
     */
354
    private $pointWidth;
355
356
    /**
357
     * Selected.
358
     *
359
     * @var boolean
360
     * @since 1.2.0
361
     */
362
    private $selected = false;
363
364
    /**
365
     * Show checkbox.
366
     *
367
     * @var boolean
368
     * @since 1.2.0
369
     */
370
    private $showCheckbox = false;
371
372
    /**
373
     * Show in legend.
374
     *
375
     * @var boolean
376
     */
377
    private $showInLegend = true;
378
379
    /**
380
     * Skip keyboard navigation.
381
     *
382
     * @var boolean
383
     * @since 5.0.12
384
     */
385
    private $skipKeyboardNavigation;
386
387
    /**
388
     * States.
389
     *
390
     * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Boxplot\HighchartsStates
391
     */
392
    private $states;
393
394
    /**
395
     * Stem color.
396
     *
397
     * @var string
398
     * @since 3.0
399
     */
400
    private $stemColor;
401
402
    /**
403
     * Stem dash style.
404
     *
405
     * @var string
406
     * @since 3.0
407
     */
408
    private $stemDashStyle = "Solid";
409
410
    /**
411
     * Stem width.
412
     *
413
     * @var integer
414
     * @since 3.0
415
     */
416
    private $stemWidth;
417
418
    /**
419
     * Sticky tracking.
420
     *
421
     * @var boolean
422
     * @since 2.0
423
     */
424
    private $stickyTracking = true;
425
426
    /**
427
     * Tooltip.
428
     *
429
     * @var array
430
     * @since 2.3
431
     */
432
    private $tooltip;
433
434
    /**
435
     * Turbo threshold.
436
     *
437
     * @var integer
438
     * @since 2.2
439
     */
440
    private $turboThreshold = 1000;
441
442
    /**
443
     * Type.
444
     *
445
     * @var string
446
     */
447
    private $type;
448
449
    /**
450
     * Visible.
451
     *
452
     * @var boolean
453
     */
454
    private $visible = true;
455
456
    /**
457
     * Whisker color.
458
     *
459
     * @var string
460
     * @since 3.0
461
     */
462
    private $whiskerColor;
463
464
    /**
465
     * Whisker length.
466
     *
467
     * @var integer|string
468
     * @since 3.0
469
     */
470
    private $whiskerLength = "50%";
471
472
    /**
473
     * Whisker width.
474
     *
475
     * @var integer
476
     * @since 3.0
477
     */
478
    private $whiskerWidth = 2;
479
480
    /**
481
     * X axis.
482
     *
483
     * @var integer|string
484
     */
485
    private $xAxis = "0";
486
487
    /**
488
     * Y axis.
489
     *
490
     * @var integer|string
491
     */
492
    private $yAxis = "0";
493
494
    /**
495
     * Z index.
496
     *
497
     * @var integer
498
     */
499
    private $zIndex;
500
501
    /**
502
     * Zone axis.
503
     *
504
     * @var string
505
     * @since 4.1.0
506
     */
507
    private $zoneAxis = "y";
508
509
    /**
510
     * Zones.
511
     *
512
     * @var array
513
     * @since 4.1.0
514
     */
515
    private $zones;
516
517
    /**
518
     * Constructor.
519
     *
520
     * @param boolean $ignoreDefaultValues Ignore the default values.
521
     */
522
    public function __construct($ignoreDefaultValues = true) {
523
        if (true === $ignoreDefaultValues) {
524
            $this->clear();
525
        }
526
    }
527
528
    /**
529
     * Clear.
530
     *
531
     * @return void
532
     */
533
    public function clear() {
534
535
        // Clear the allow point select.
536
        $this->allowPointSelect = null;
537
538
        // Clear the animation limit.
539
        $this->animationLimit = null;
540
541
        // Clear the class name.
542
        $this->className = null;
543
544
        // Clear the color.
545
        $this->color = null;
546
547
        // Clear the color by point.
548
        $this->colorByPoint = null;
549
550
        // Clear the color index.
551
        $this->colorIndex = null;
552
553
        // Clear the colors.
554
        $this->colors = null;
0 ignored issues
show
Documentation Bug introduced by
It seems like null of type null is incompatible with the declared type array of property $colors.

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..

Loading history...
555
556
        // Clear the crisp.
557
        $this->crisp = null;
558
559
        // Clear the cursor.
560
        $this->cursor = null;
561
562
        // Clear the data.
563
        $this->data = null;
0 ignored issues
show
Documentation Bug introduced by
It seems like null of type null is incompatible with the declared type array of property $data.

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..

Loading history...
564
565
        // Clear the depth.
566
        $this->depth = null;
567
568
        // Clear the description.
569
        $this->description = null;
570
571
        // Clear the edge color.
572
        $this->edgeColor = null;
573
574
        // Clear the edge width.
575
        $this->edgeWidth = null;
576
577
        // Clear the enable mouse tracking.
578
        $this->enableMouseTracking = null;
579
580
        // Clear the events.
581
        if (null !== $this->events) {
582
            $this->events->clear();
583
        }
584
585
        // Clear the expose element to a11y.
586
        $this->exposeElementToA11y = null;
587
588
        // Clear the fill color.
589
        $this->fillColor = null;
590
591
        // Clear the find nearest point by.
592
        $this->findNearestPointBy = null;
593
594
        // Clear the get extremes from all.
595
        $this->getExtremesFromAll = null;
596
597
        // Clear the group padding.
598
        $this->groupPadding = null;
599
600
        // Clear the group z padding.
601
        $this->groupZPadding = null;
602
603
        // Clear the grouping.
604
        $this->grouping = null;
605
606
        // Clear the id.
607
        $this->id = null;
608
609
        // Clear the index.
610
        $this->index = null;
611
612
        // Clear the keys.
613
        $this->keys = null;
0 ignored issues
show
Documentation Bug introduced by
It seems like null of type null is incompatible with the declared type array of property $keys.

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..

Loading history...
614
615
        // Clear the legend index.
616
        $this->legendIndex = null;
617
618
        // Clear the line width.
619
        $this->lineWidth = null;
620
621
        // Clear the linked to.
622
        $this->linkedTo = null;
623
624
        // Clear the max point width.
625
        $this->maxPointWidth = null;
626
627
        // Clear the median color.
628
        $this->medianColor = null;
629
630
        // Clear the median width.
631
        $this->medianWidth = null;
632
633
        // Clear the name.
634
        $this->name = null;
635
636
        // Clear the negative color.
637
        $this->negativeColor = null;
638
639
        // Clear the point.
640
        if (null !== $this->point) {
641
            $this->point->clear();
642
        }
643
644
        // Clear the point description formatter.
645
        $this->pointDescriptionFormatter = null;
646
647
        // Clear the point interval.
648
        $this->pointInterval = null;
649
650
        // Clear the point interval unit.
651
        $this->pointIntervalUnit = null;
652
653
        // Clear the point padding.
654
        $this->pointPadding = null;
655
656
        // Clear the point placement.
657
        $this->pointPlacement = null;
658
659
        // Clear the point range.
660
        $this->pointRange = null;
661
662
        // Clear the point start.
663
        $this->pointStart = null;
664
665
        // Clear the point width.
666
        $this->pointWidth = null;
667
668
        // Clear the selected.
669
        $this->selected = null;
670
671
        // Clear the show checkbox.
672
        $this->showCheckbox = null;
673
674
        // Clear the show in legend.
675
        $this->showInLegend = null;
676
677
        // Clear the skip keyboard navigation.
678
        $this->skipKeyboardNavigation = null;
679
680
        // Clear the states.
681
        if (null !== $this->states) {
682
            $this->states->clear();
683
        }
684
685
        // Clear the stem color.
686
        $this->stemColor = null;
687
688
        // Clear the stem dash style.
689
        $this->stemDashStyle = null;
690
691
        // Clear the stem width.
692
        $this->stemWidth = null;
693
694
        // Clear the sticky tracking.
695
        $this->stickyTracking = null;
696
697
        // Clear the tooltip.
698
        $this->tooltip = null;
0 ignored issues
show
Documentation Bug introduced by
It seems like null of type null is incompatible with the declared type array of property $tooltip.

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..

Loading history...
699
700
        // Clear the turbo threshold.
701
        $this->turboThreshold = null;
702
703
        // Clear the type.
704
        $this->type = null;
705
706
        // Clear the visible.
707
        $this->visible = null;
708
709
        // Clear the whisker color.
710
        $this->whiskerColor = null;
711
712
        // Clear the whisker length.
713
        $this->whiskerLength = null;
714
715
        // Clear the whisker width.
716
        $this->whiskerWidth = null;
717
718
        // Clear the x axis.
719
        $this->xAxis = null;
720
721
        // Clear the y axis.
722
        $this->yAxis = null;
723
724
        // Clear the z index.
725
        $this->zIndex = null;
726
727
        // Clear the zone axis.
728
        $this->zoneAxis = null;
729
730
        // Clear the zones.
731
        $this->zones = null;
0 ignored issues
show
Documentation Bug introduced by
It seems like null of type null is incompatible with the declared type array of property $zones.

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..

Loading history...
732
    }
733
734
    /**
735
     * Get the allow point select.
736
     *
737
     * @return boolean Returns the allow point select.
738
     */
739
    public function getAllowPointSelect() {
740
        return $this->allowPointSelect;
741
    }
742
743
    /**
744
     * Get the animation limit.
745
     *
746
     * @return integer Returns the animation limit.
747
     */
748
    public function getAnimationLimit() {
749
        return $this->animationLimit;
750
    }
751
752
    /**
753
     * Get the class name.
754
     *
755
     * @return string Returns the class name.
756
     */
757
    public function getClassName() {
758
        return $this->className;
759
    }
760
761
    /**
762
     * Get the color.
763
     *
764
     * @return string Returns the color.
765
     */
766
    public function getColor() {
767
        return $this->color;
768
    }
769
770
    /**
771
     * Get the color by point.
772
     *
773
     * @return boolean Returns the color by point.
774
     */
775
    public function getColorByPoint() {
776
        return $this->colorByPoint;
777
    }
778
779
    /**
780
     * Get the color index.
781
     *
782
     * @return integer Returns the color index.
783
     */
784
    public function getColorIndex() {
785
        return $this->colorIndex;
786
    }
787
788
    /**
789
     * Get the colors.
790
     *
791
     * @return array Returns the colors.
792
     */
793
    public function getColors() {
794
        return $this->colors;
795
    }
796
797
    /**
798
     * Get the crisp.
799
     *
800
     * @return boolean Returns the crisp.
801
     */
802
    public function getCrisp() {
803
        return $this->crisp;
804
    }
805
806
    /**
807
     * Get the cursor.
808
     *
809
     * @return string Returns the cursor.
810
     */
811
    public function getCursor() {
812
        return $this->cursor;
813
    }
814
815
    /**
816
     * Get the data.
817
     *
818
     * @return array Returns the data.
819
     */
820
    public function getData() {
821
        return $this->data;
822
    }
823
824
    /**
825
     * Get the depth.
826
     *
827
     * @return integer Returns the depth.
828
     */
829
    public function getDepth() {
830
        return $this->depth;
831
    }
832
833
    /**
834
     * Get the description.
835
     *
836
     * @return string Returns the description.
837
     */
838
    public function getDescription() {
839
        return $this->description;
840
    }
841
842
    /**
843
     * Get the edge color.
844
     *
845
     * @return string Returns the edge color.
846
     */
847
    public function getEdgeColor() {
848
        return $this->edgeColor;
849
    }
850
851
    /**
852
     * Get the edge width.
853
     *
854
     * @return integer Returns the edge width.
855
     */
856
    public function getEdgeWidth() {
857
        return $this->edgeWidth;
858
    }
859
860
    /**
861
     * Get the enable mouse tracking.
862
     *
863
     * @return boolean Returns the enable mouse tracking.
864
     */
865
    public function getEnableMouseTracking() {
866
        return $this->enableMouseTracking;
867
    }
868
869
    /**
870
     * Get the events.
871
     *
872
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Boxplot\HighchartsEvents Returns the events.
873
     */
874
    public function getEvents() {
875
        return $this->events;
876
    }
877
878
    /**
879
     * Get the expose element to a11y.
880
     *
881
     * @return boolean Returns the expose element to a11y.
882
     */
883
    public function getExposeElementToA11y() {
884
        return $this->exposeElementToA11y;
885
    }
886
887
    /**
888
     * Get the fill color.
889
     *
890
     * @return string Returns the fill color.
891
     */
892
    public function getFillColor() {
893
        return $this->fillColor;
894
    }
895
896
    /**
897
     * Get the find nearest point by.
898
     *
899
     * @return string Returns the find nearest point by.
900
     */
901
    public function getFindNearestPointBy() {
902
        return $this->findNearestPointBy;
903
    }
904
905
    /**
906
     * Get the get extremes from all.
907
     *
908
     * @return boolean Returns the get extremes from all.
909
     */
910
    public function getGetExtremesFromAll() {
911
        return $this->getExtremesFromAll;
912
    }
913
914
    /**
915
     * Get the group padding.
916
     *
917
     * @return integer Returns the group padding.
918
     */
919
    public function getGroupPadding() {
920
        return $this->groupPadding;
921
    }
922
923
    /**
924
     * Get the group z padding.
925
     *
926
     * @return integer Returns the group z padding.
927
     */
928
    public function getGroupZPadding() {
929
        return $this->groupZPadding;
930
    }
931
932
    /**
933
     * Get the grouping.
934
     *
935
     * @return boolean Returns the grouping.
936
     */
937
    public function getGrouping() {
938
        return $this->grouping;
939
    }
940
941
    /**
942
     * Get the id.
943
     *
944
     * @return string Returns the id.
945
     */
946
    public function getId() {
947
        return $this->id;
948
    }
949
950
    /**
951
     * Get the index.
952
     *
953
     * @return integer Returns the index.
954
     */
955
    public function getIndex() {
956
        return $this->index;
957
    }
958
959
    /**
960
     * Get the keys.
961
     *
962
     * @return array Returns the keys.
963
     */
964
    public function getKeys() {
965
        return $this->keys;
966
    }
967
968
    /**
969
     * Get the legend index.
970
     *
971
     * @return integer Returns the legend index.
972
     */
973
    public function getLegendIndex() {
974
        return $this->legendIndex;
975
    }
976
977
    /**
978
     * Get the line width.
979
     *
980
     * @return integer Returns the line width.
981
     */
982
    public function getLineWidth() {
983
        return $this->lineWidth;
984
    }
985
986
    /**
987
     * Get the linked to.
988
     *
989
     * @return string Returns the linked to.
990
     */
991
    public function getLinkedTo() {
992
        return $this->linkedTo;
993
    }
994
995
    /**
996
     * Get the max point width.
997
     *
998
     * @return integer Returns the max point width.
999
     */
1000
    public function getMaxPointWidth() {
1001
        return $this->maxPointWidth;
1002
    }
1003
1004
    /**
1005
     * Get the median color.
1006
     *
1007
     * @return string Returns the median color.
1008
     */
1009
    public function getMedianColor() {
1010
        return $this->medianColor;
1011
    }
1012
1013
    /**
1014
     * Get the median width.
1015
     *
1016
     * @return integer Returns the median width.
1017
     */
1018
    public function getMedianWidth() {
1019
        return $this->medianWidth;
1020
    }
1021
1022
    /**
1023
     * Get the name.
1024
     *
1025
     * @return string Returns the name.
1026
     */
1027
    public function getName() {
1028
        return $this->name;
1029
    }
1030
1031
    /**
1032
     * Get the negative color.
1033
     *
1034
     * @return string Returns the negative color.
1035
     */
1036
    public function getNegativeColor() {
1037
        return $this->negativeColor;
1038
    }
1039
1040
    /**
1041
     * Get the point.
1042
     *
1043
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Boxplot\HighchartsPoint Returns the point.
1044
     */
1045
    public function getPoint() {
1046
        return $this->point;
1047
    }
1048
1049
    /**
1050
     * Get the point description formatter.
1051
     *
1052
     * @return string Returns the point description formatter.
1053
     */
1054
    public function getPointDescriptionFormatter() {
1055
        return $this->pointDescriptionFormatter;
1056
    }
1057
1058
    /**
1059
     * Get the point interval.
1060
     *
1061
     * @return integer Returns the point interval.
1062
     */
1063
    public function getPointInterval() {
1064
        return $this->pointInterval;
1065
    }
1066
1067
    /**
1068
     * Get the point interval unit.
1069
     *
1070
     * @return string Returns the point interval unit.
1071
     */
1072
    public function getPointIntervalUnit() {
1073
        return $this->pointIntervalUnit;
1074
    }
1075
1076
    /**
1077
     * Get the point padding.
1078
     *
1079
     * @return integer Returns the point padding.
1080
     */
1081
    public function getPointPadding() {
1082
        return $this->pointPadding;
1083
    }
1084
1085
    /**
1086
     * Get the point placement.
1087
     *
1088
     * @return string|integer Returns the point placement.
1089
     */
1090
    public function getPointPlacement() {
1091
        return $this->pointPlacement;
1092
    }
1093
1094
    /**
1095
     * Get the point range.
1096
     *
1097
     * @return integer Returns the point range.
1098
     */
1099
    public function getPointRange() {
1100
        return $this->pointRange;
1101
    }
1102
1103
    /**
1104
     * Get the point start.
1105
     *
1106
     * @return integer Returns the point start.
1107
     */
1108
    public function getPointStart() {
1109
        return $this->pointStart;
1110
    }
1111
1112
    /**
1113
     * Get the point width.
1114
     *
1115
     * @return integer Returns the point width.
1116
     */
1117
    public function getPointWidth() {
1118
        return $this->pointWidth;
1119
    }
1120
1121
    /**
1122
     * Get the selected.
1123
     *
1124
     * @return boolean Returns the selected.
1125
     */
1126
    public function getSelected() {
1127
        return $this->selected;
1128
    }
1129
1130
    /**
1131
     * Get the show checkbox.
1132
     *
1133
     * @return boolean Returns the show checkbox.
1134
     */
1135
    public function getShowCheckbox() {
1136
        return $this->showCheckbox;
1137
    }
1138
1139
    /**
1140
     * Get the show in legend.
1141
     *
1142
     * @return boolean Returns the show in legend.
1143
     */
1144
    public function getShowInLegend() {
1145
        return $this->showInLegend;
1146
    }
1147
1148
    /**
1149
     * Get the skip keyboard navigation.
1150
     *
1151
     * @return boolean Returns the skip keyboard navigation.
1152
     */
1153
    public function getSkipKeyboardNavigation() {
1154
        return $this->skipKeyboardNavigation;
1155
    }
1156
1157
    /**
1158
     * Get the states.
1159
     *
1160
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Boxplot\HighchartsStates Returns the states.
1161
     */
1162
    public function getStates() {
1163
        return $this->states;
1164
    }
1165
1166
    /**
1167
     * Get the stem color.
1168
     *
1169
     * @return string Returns the stem color.
1170
     */
1171
    public function getStemColor() {
1172
        return $this->stemColor;
1173
    }
1174
1175
    /**
1176
     * Get the stem dash style.
1177
     *
1178
     * @return string Returns the stem dash style.
1179
     */
1180
    public function getStemDashStyle() {
1181
        return $this->stemDashStyle;
1182
    }
1183
1184
    /**
1185
     * Get the stem width.
1186
     *
1187
     * @return integer Returns the stem width.
1188
     */
1189
    public function getStemWidth() {
1190
        return $this->stemWidth;
1191
    }
1192
1193
    /**
1194
     * Get the sticky tracking.
1195
     *
1196
     * @return boolean Returns the sticky tracking.
1197
     */
1198
    public function getStickyTracking() {
1199
        return $this->stickyTracking;
1200
    }
1201
1202
    /**
1203
     * Get the tooltip.
1204
     *
1205
     * @return array Returns the tooltip.
1206
     */
1207
    public function getTooltip() {
1208
        return $this->tooltip;
1209
    }
1210
1211
    /**
1212
     * Get the turbo threshold.
1213
     *
1214
     * @return integer Returns the turbo threshold.
1215
     */
1216
    public function getTurboThreshold() {
1217
        return $this->turboThreshold;
1218
    }
1219
1220
    /**
1221
     * Get the type.
1222
     *
1223
     * @return string Returns the type.
1224
     */
1225
    public function getType() {
1226
        return $this->type;
1227
    }
1228
1229
    /**
1230
     * Get the visible.
1231
     *
1232
     * @return boolean Returns the visible.
1233
     */
1234
    public function getVisible() {
1235
        return $this->visible;
1236
    }
1237
1238
    /**
1239
     * Get the whisker color.
1240
     *
1241
     * @return string Returns the whisker color.
1242
     */
1243
    public function getWhiskerColor() {
1244
        return $this->whiskerColor;
1245
    }
1246
1247
    /**
1248
     * Get the whisker length.
1249
     *
1250
     * @return integer|string Returns the whisker length.
1251
     */
1252
    public function getWhiskerLength() {
1253
        return $this->whiskerLength;
1254
    }
1255
1256
    /**
1257
     * Get the whisker width.
1258
     *
1259
     * @return integer Returns the whisker width.
1260
     */
1261
    public function getWhiskerWidth() {
1262
        return $this->whiskerWidth;
1263
    }
1264
1265
    /**
1266
     * Get the x axis.
1267
     *
1268
     * @return integer|string Returns the x axis.
1269
     */
1270
    public function getXAxis() {
1271
        return $this->xAxis;
1272
    }
1273
1274
    /**
1275
     * Get the y axis.
1276
     *
1277
     * @return integer|string Returns the y axis.
1278
     */
1279
    public function getYAxis() {
1280
        return $this->yAxis;
1281
    }
1282
1283
    /**
1284
     * Get the z index.
1285
     *
1286
     * @return integer Returns the z index.
1287
     */
1288
    public function getZIndex() {
1289
        return $this->zIndex;
1290
    }
1291
1292
    /**
1293
     * Get the zone axis.
1294
     *
1295
     * @return string Returns the zone axis.
1296
     */
1297
    public function getZoneAxis() {
1298
        return $this->zoneAxis;
1299
    }
1300
1301
    /**
1302
     * Get the zones.
1303
     *
1304
     * @return array Returns the zones.
1305
     */
1306
    public function getZones() {
1307
        return $this->zones;
1308
    }
1309
1310
    /**
1311
     * Serialize this instance.
1312
     *
1313
     * @return array Returns an array representing this instance.
1314
     */
1315
    public function jsonSerialize() {
1316
        return $this->toArray();
1317
    }
1318
1319
    /**
1320
     * Create a new events.
1321
     *
1322
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Boxplot\HighchartsEvents Returns the events.
1323
     */
1324
    public function newEvents() {
1325
        $this->events = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Boxplot\HighchartsEvents();
1326
        return $this->events;
1327
    }
1328
1329
    /**
1330
     * Create a new point.
1331
     *
1332
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Boxplot\HighchartsPoint Returns the point.
1333
     */
1334
    public function newPoint() {
1335
        $this->point = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Boxplot\HighchartsPoint();
1336
        return $this->point;
1337
    }
1338
1339
    /**
1340
     * Create a new states.
1341
     *
1342
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Boxplot\HighchartsStates Returns the states.
1343
     */
1344
    public function newStates() {
1345
        $this->states = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Boxplot\HighchartsStates();
1346
        return $this->states;
1347
    }
1348
1349
    /**
1350
     * Set the allow point select.
1351
     *
1352
     * @param boolean $allowPointSelect The allow point select.
1353
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1354
     */
1355
    public function setAllowPointSelect($allowPointSelect) {
1356
        $this->allowPointSelect = $allowPointSelect;
1357
        return $this;
1358
    }
1359
1360
    /**
1361
     * Set the animation limit.
1362
     *
1363
     * @param integer $animationLimit The animation limit.
1364
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1365
     */
1366
    public function setAnimationLimit($animationLimit) {
1367
        $this->animationLimit = $animationLimit;
1368
        return $this;
1369
    }
1370
1371
    /**
1372
     * Set the class name.
1373
     *
1374
     * @param string $className The class name.
1375
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1376
     */
1377
    public function setClassName($className) {
1378
        $this->className = $className;
1379
        return $this;
1380
    }
1381
1382
    /**
1383
     * Set the color.
1384
     *
1385
     * @param string $color The color.
1386
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1387
     */
1388
    public function setColor($color) {
1389
        $this->color = $color;
1390
        return $this;
1391
    }
1392
1393
    /**
1394
     * Set the color by point.
1395
     *
1396
     * @param boolean $colorByPoint The color by point.
1397
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1398
     */
1399
    public function setColorByPoint($colorByPoint) {
1400
        $this->colorByPoint = $colorByPoint;
1401
        return $this;
1402
    }
1403
1404
    /**
1405
     * Set the color index.
1406
     *
1407
     * @param integer $colorIndex The color index.
1408
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1409
     */
1410
    public function setColorIndex($colorIndex) {
1411
        $this->colorIndex = $colorIndex;
1412
        return $this;
1413
    }
1414
1415
    /**
1416
     * Set the colors.
1417
     *
1418
     * @param array $colors The colors.
1419
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1420
     */
1421
    public function setColors(array $colors = null) {
1422
        $this->colors = $colors;
0 ignored issues
show
Documentation Bug introduced by
It seems like $colors can be null. However, the property $colors is declared as array. Maybe change the type of the property to array|null or add a type check?

Our type inference engine has found an assignment of a scalar value (like a string, an integer or null) to a property which is an array.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property.

To type hint that a parameter can be either an array or null, you can set a type hint of array and a default value of null. The PHP interpreter will then accept both an array or null for that parameter.

function aContainsB(array $needle = null, array  $haystack) {
    if (!$needle) {
        return false;
    }

    return array_intersect($haystack, $needle) == $haystack;
}

The function can be called with either null or an array for the parameter $needle but will only accept an array as $haystack.

Loading history...
1423
        return $this;
1424
    }
1425
1426
    /**
1427
     * Set the crisp.
1428
     *
1429
     * @param boolean $crisp The crisp.
1430
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1431
     */
1432
    public function setCrisp($crisp) {
1433
        $this->crisp = $crisp;
1434
        return $this;
1435
    }
1436
1437
    /**
1438
     * Set the cursor.
1439
     *
1440
     * @param string $cursor The cursor.
1441
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1442
     */
1443
    public function setCursor($cursor) {
1444
        switch ($cursor) {
1445
            case null:
1446
            case "crosshair":
1447
            case "default":
1448
            case "help":
1449
            case "none":
1450
            case "pointer":
1451
            $this->cursor = $cursor;
1452
            break;
1453
        }
1454
        return $this;
1455
    }
1456
1457
    /**
1458
     * Set the data.
1459
     *
1460
     * @param array $data The data.
1461
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1462
     */
1463
    public function setData(array $data = null) {
1464
        $this->data = $data;
0 ignored issues
show
Documentation Bug introduced by
It seems like $data can be null. However, the property $data is declared as array. Maybe change the type of the property to array|null or add a type check?

Our type inference engine has found an assignment of a scalar value (like a string, an integer or null) to a property which is an array.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property.

To type hint that a parameter can be either an array or null, you can set a type hint of array and a default value of null. The PHP interpreter will then accept both an array or null for that parameter.

function aContainsB(array $needle = null, array  $haystack) {
    if (!$needle) {
        return false;
    }

    return array_intersect($haystack, $needle) == $haystack;
}

The function can be called with either null or an array for the parameter $needle but will only accept an array as $haystack.

Loading history...
1465
        return $this;
1466
    }
1467
1468
    /**
1469
     * Set the depth.
1470
     *
1471
     * @param integer $depth The depth.
1472
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1473
     */
1474
    public function setDepth($depth) {
1475
        $this->depth = $depth;
1476
        return $this;
1477
    }
1478
1479
    /**
1480
     * Set the description.
1481
     *
1482
     * @param string $description The description.
1483
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1484
     */
1485
    public function setDescription($description) {
1486
        $this->description = $description;
1487
        return $this;
1488
    }
1489
1490
    /**
1491
     * Set the edge color.
1492
     *
1493
     * @param string $edgeColor The edge color.
1494
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1495
     */
1496
    public function setEdgeColor($edgeColor) {
1497
        $this->edgeColor = $edgeColor;
1498
        return $this;
1499
    }
1500
1501
    /**
1502
     * Set the edge width.
1503
     *
1504
     * @param integer $edgeWidth The edge width.
1505
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1506
     */
1507
    public function setEdgeWidth($edgeWidth) {
1508
        $this->edgeWidth = $edgeWidth;
1509
        return $this;
1510
    }
1511
1512
    /**
1513
     * Set the enable mouse tracking.
1514
     *
1515
     * @param boolean $enableMouseTracking The enable mouse tracking.
1516
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1517
     */
1518
    public function setEnableMouseTracking($enableMouseTracking) {
1519
        $this->enableMouseTracking = $enableMouseTracking;
1520
        return $this;
1521
    }
1522
1523
    /**
1524
     * Set the events.
1525
     *
1526
     * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Boxplot\HighchartsEvents $events The events.
1527
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1528
     */
1529
    public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Boxplot\HighchartsEvents $events = null) {
1530
        $this->events = $events;
1531
        return $this;
1532
    }
1533
1534
    /**
1535
     * Set the expose element to a11y.
1536
     *
1537
     * @param boolean $exposeElementToA11y The expose element to a11y.
1538
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1539
     */
1540
    public function setExposeElementToA11y($exposeElementToA11y) {
1541
        $this->exposeElementToA11y = $exposeElementToA11y;
1542
        return $this;
1543
    }
1544
1545
    /**
1546
     * Set the fill color.
1547
     *
1548
     * @param string $fillColor The fill color.
1549
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1550
     */
1551
    public function setFillColor($fillColor) {
1552
        $this->fillColor = $fillColor;
1553
        return $this;
1554
    }
1555
1556
    /**
1557
     * Set the find nearest point by.
1558
     *
1559
     * @param string $findNearestPointBy The find nearest point by.
1560
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1561
     */
1562
    public function setFindNearestPointBy($findNearestPointBy) {
1563
        switch ($findNearestPointBy) {
1564
            case "x":
1565
            case "xy":
1566
            $this->findNearestPointBy = $findNearestPointBy;
1567
            break;
1568
        }
1569
        return $this;
1570
    }
1571
1572
    /**
1573
     * Set the get extremes from all.
1574
     *
1575
     * @param boolean $getExtremesFromAll The get extremes from all.
1576
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1577
     */
1578
    public function setGetExtremesFromAll($getExtremesFromAll) {
1579
        $this->getExtremesFromAll = $getExtremesFromAll;
1580
        return $this;
1581
    }
1582
1583
    /**
1584
     * Set the group padding.
1585
     *
1586
     * @param integer $groupPadding The group padding.
1587
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1588
     */
1589
    public function setGroupPadding($groupPadding) {
1590
        $this->groupPadding = $groupPadding;
1591
        return $this;
1592
    }
1593
1594
    /**
1595
     * Set the group z padding.
1596
     *
1597
     * @param integer $groupZPadding The group z padding.
1598
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1599
     */
1600
    public function setGroupZPadding($groupZPadding) {
1601
        $this->groupZPadding = $groupZPadding;
1602
        return $this;
1603
    }
1604
1605
    /**
1606
     * Set the grouping.
1607
     *
1608
     * @param boolean $grouping The grouping.
1609
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1610
     */
1611
    public function setGrouping($grouping) {
1612
        $this->grouping = $grouping;
1613
        return $this;
1614
    }
1615
1616
    /**
1617
     * Set the id.
1618
     *
1619
     * @param string $id The id.
1620
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1621
     */
1622
    public function setId($id) {
1623
        $this->id = $id;
1624
        return $this;
1625
    }
1626
1627
    /**
1628
     * Set the index.
1629
     *
1630
     * @param integer $index The index.
1631
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1632
     */
1633
    public function setIndex($index) {
1634
        $this->index = $index;
1635
        return $this;
1636
    }
1637
1638
    /**
1639
     * Set the keys.
1640
     *
1641
     * @param array $keys The keys.
1642
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1643
     */
1644
    public function setKeys(array $keys = null) {
1645
        $this->keys = $keys;
0 ignored issues
show
Documentation Bug introduced by
It seems like $keys can be null. However, the property $keys is declared as array. Maybe change the type of the property to array|null or add a type check?

Our type inference engine has found an assignment of a scalar value (like a string, an integer or null) to a property which is an array.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property.

To type hint that a parameter can be either an array or null, you can set a type hint of array and a default value of null. The PHP interpreter will then accept both an array or null for that parameter.

function aContainsB(array $needle = null, array  $haystack) {
    if (!$needle) {
        return false;
    }

    return array_intersect($haystack, $needle) == $haystack;
}

The function can be called with either null or an array for the parameter $needle but will only accept an array as $haystack.

Loading history...
1646
        return $this;
1647
    }
1648
1649
    /**
1650
     * Set the legend index.
1651
     *
1652
     * @param integer $legendIndex The legend index.
1653
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1654
     */
1655
    public function setLegendIndex($legendIndex) {
1656
        $this->legendIndex = $legendIndex;
1657
        return $this;
1658
    }
1659
1660
    /**
1661
     * Set the line width.
1662
     *
1663
     * @param integer $lineWidth The line width.
1664
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1665
     */
1666
    public function setLineWidth($lineWidth) {
1667
        $this->lineWidth = $lineWidth;
1668
        return $this;
1669
    }
1670
1671
    /**
1672
     * Set the linked to.
1673
     *
1674
     * @param string $linkedTo The linked to.
1675
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1676
     */
1677
    public function setLinkedTo($linkedTo) {
1678
        $this->linkedTo = $linkedTo;
1679
        return $this;
1680
    }
1681
1682
    /**
1683
     * Set the max point width.
1684
     *
1685
     * @param integer $maxPointWidth The max point width.
1686
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1687
     */
1688
    public function setMaxPointWidth($maxPointWidth) {
1689
        $this->maxPointWidth = $maxPointWidth;
1690
        return $this;
1691
    }
1692
1693
    /**
1694
     * Set the median color.
1695
     *
1696
     * @param string $medianColor The median color.
1697
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1698
     */
1699
    public function setMedianColor($medianColor) {
1700
        $this->medianColor = $medianColor;
1701
        return $this;
1702
    }
1703
1704
    /**
1705
     * Set the median width.
1706
     *
1707
     * @param integer $medianWidth The median width.
1708
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1709
     */
1710
    public function setMedianWidth($medianWidth) {
1711
        $this->medianWidth = $medianWidth;
1712
        return $this;
1713
    }
1714
1715
    /**
1716
     * Set the name.
1717
     *
1718
     * @param string $name The name.
1719
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1720
     */
1721
    public function setName($name) {
1722
        $this->name = $name;
1723
        return $this;
1724
    }
1725
1726
    /**
1727
     * Set the negative color.
1728
     *
1729
     * @param string $negativeColor The negative color.
1730
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1731
     */
1732
    public function setNegativeColor($negativeColor) {
1733
        $this->negativeColor = $negativeColor;
1734
        return $this;
1735
    }
1736
1737
    /**
1738
     * Set the point.
1739
     *
1740
     * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Boxplot\HighchartsPoint $point The point.
1741
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1742
     */
1743
    public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Boxplot\HighchartsPoint $point = null) {
1744
        $this->point = $point;
1745
        return $this;
1746
    }
1747
1748
    /**
1749
     * Set the point description formatter.
1750
     *
1751
     * @param string $pointDescriptionFormatter The point description formatter.
1752
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1753
     */
1754
    public function setPointDescriptionFormatter($pointDescriptionFormatter) {
1755
        $this->pointDescriptionFormatter = $pointDescriptionFormatter;
1756
        return $this;
1757
    }
1758
1759
    /**
1760
     * Set the point interval.
1761
     *
1762
     * @param integer $pointInterval The point interval.
1763
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1764
     */
1765
    public function setPointInterval($pointInterval) {
1766
        $this->pointInterval = $pointInterval;
1767
        return $this;
1768
    }
1769
1770
    /**
1771
     * Set the point interval unit.
1772
     *
1773
     * @param string $pointIntervalUnit The point interval unit.
1774
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1775
     */
1776
    public function setPointIntervalUnit($pointIntervalUnit) {
1777
        switch ($pointIntervalUnit) {
1778
            case null:
1779
            case "day":
1780
            case "month":
1781
            case "year":
1782
            $this->pointIntervalUnit = $pointIntervalUnit;
1783
            break;
1784
        }
1785
        return $this;
1786
    }
1787
1788
    /**
1789
     * Set the point padding.
1790
     *
1791
     * @param integer $pointPadding The point padding.
1792
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1793
     */
1794
    public function setPointPadding($pointPadding) {
1795
        $this->pointPadding = $pointPadding;
1796
        return $this;
1797
    }
1798
1799
    /**
1800
     * Set the point placement.
1801
     *
1802
     * @param string|integer $pointPlacement The point placement.
1803
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1804
     */
1805
    public function setPointPlacement($pointPlacement) {
1806
        switch ($pointPlacement) {
1807
            case null:
1808
            case "between":
1809
            case "on":
1810
            $this->pointPlacement = $pointPlacement;
1811
            break;
1812
        }
1813
        return $this;
1814
    }
1815
1816
    /**
1817
     * Set the point range.
1818
     *
1819
     * @param integer $pointRange The point range.
1820
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1821
     */
1822
    public function setPointRange($pointRange) {
1823
        $this->pointRange = $pointRange;
1824
        return $this;
1825
    }
1826
1827
    /**
1828
     * Set the point start.
1829
     *
1830
     * @param integer $pointStart The point start.
1831
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1832
     */
1833
    public function setPointStart($pointStart) {
1834
        $this->pointStart = $pointStart;
1835
        return $this;
1836
    }
1837
1838
    /**
1839
     * Set the point width.
1840
     *
1841
     * @param integer $pointWidth The point width.
1842
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1843
     */
1844
    public function setPointWidth($pointWidth) {
1845
        $this->pointWidth = $pointWidth;
1846
        return $this;
1847
    }
1848
1849
    /**
1850
     * Set the selected.
1851
     *
1852
     * @param boolean $selected The selected.
1853
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1854
     */
1855
    public function setSelected($selected) {
1856
        $this->selected = $selected;
1857
        return $this;
1858
    }
1859
1860
    /**
1861
     * Set the show checkbox.
1862
     *
1863
     * @param boolean $showCheckbox The show checkbox.
1864
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1865
     */
1866
    public function setShowCheckbox($showCheckbox) {
1867
        $this->showCheckbox = $showCheckbox;
1868
        return $this;
1869
    }
1870
1871
    /**
1872
     * Set the show in legend.
1873
     *
1874
     * @param boolean $showInLegend The show in legend.
1875
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1876
     */
1877
    public function setShowInLegend($showInLegend) {
1878
        $this->showInLegend = $showInLegend;
1879
        return $this;
1880
    }
1881
1882
    /**
1883
     * Set the skip keyboard navigation.
1884
     *
1885
     * @param boolean $skipKeyboardNavigation The skip keyboard navigation.
1886
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1887
     */
1888
    public function setSkipKeyboardNavigation($skipKeyboardNavigation) {
1889
        $this->skipKeyboardNavigation = $skipKeyboardNavigation;
1890
        return $this;
1891
    }
1892
1893
    /**
1894
     * Set the states.
1895
     *
1896
     * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Boxplot\HighchartsStates $states The states.
1897
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1898
     */
1899
    public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Boxplot\HighchartsStates $states = null) {
1900
        $this->states = $states;
1901
        return $this;
1902
    }
1903
1904
    /**
1905
     * Set the stem color.
1906
     *
1907
     * @param string $stemColor The stem color.
1908
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1909
     */
1910
    public function setStemColor($stemColor) {
1911
        $this->stemColor = $stemColor;
1912
        return $this;
1913
    }
1914
1915
    /**
1916
     * Set the stem dash style.
1917
     *
1918
     * @param string $stemDashStyle The stem dash style.
1919
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1920
     */
1921
    public function setStemDashStyle($stemDashStyle) {
1922
        switch ($stemDashStyle) {
1923
            case "Dash":
1924
            case "DashDot":
1925
            case "Dot":
1926
            case "LongDash":
1927
            case "LongDashDot":
1928
            case "LongDashDotDot":
1929
            case "ShortDash":
1930
            case "ShortDashDot":
1931
            case "ShortDashDotDot":
1932
            case "ShortDot":
1933
            case "Solid":
1934
            $this->stemDashStyle = $stemDashStyle;
1935
            break;
1936
        }
1937
        return $this;
1938
    }
1939
1940
    /**
1941
     * Set the stem width.
1942
     *
1943
     * @param integer $stemWidth The stem width.
1944
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1945
     */
1946
    public function setStemWidth($stemWidth) {
1947
        $this->stemWidth = $stemWidth;
1948
        return $this;
1949
    }
1950
1951
    /**
1952
     * Set the sticky tracking.
1953
     *
1954
     * @param boolean $stickyTracking The sticky tracking.
1955
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1956
     */
1957
    public function setStickyTracking($stickyTracking) {
1958
        $this->stickyTracking = $stickyTracking;
1959
        return $this;
1960
    }
1961
1962
    /**
1963
     * Set the tooltip.
1964
     *
1965
     * @param array $tooltip The tooltip.
1966
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1967
     */
1968
    public function setTooltip(array $tooltip = null) {
1969
        $this->tooltip = $tooltip;
0 ignored issues
show
Documentation Bug introduced by
It seems like $tooltip can be null. However, the property $tooltip is declared as array. Maybe change the type of the property to array|null or add a type check?

Our type inference engine has found an assignment of a scalar value (like a string, an integer or null) to a property which is an array.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property.

To type hint that a parameter can be either an array or null, you can set a type hint of array and a default value of null. The PHP interpreter will then accept both an array or null for that parameter.

function aContainsB(array $needle = null, array  $haystack) {
    if (!$needle) {
        return false;
    }

    return array_intersect($haystack, $needle) == $haystack;
}

The function can be called with either null or an array for the parameter $needle but will only accept an array as $haystack.

Loading history...
1970
        return $this;
1971
    }
1972
1973
    /**
1974
     * Set the turbo threshold.
1975
     *
1976
     * @param integer $turboThreshold The turbo threshold.
1977
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1978
     */
1979
    public function setTurboThreshold($turboThreshold) {
1980
        $this->turboThreshold = $turboThreshold;
1981
        return $this;
1982
    }
1983
1984
    /**
1985
     * Set the type.
1986
     *
1987
     * @param string $type The type.
1988
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
1989
     */
1990
    public function setType($type) {
1991
        switch ($type) {
1992
            case null:
1993
            case "area":
1994
            case "arearange":
1995
            case "areaspline":
1996
            case "areasplinerange":
1997
            case "boxplot":
1998
            case "bubble":
1999
            case "column":
2000
            case "columnrange":
2001
            case "errorbar":
2002
            case "funnel":
2003
            case "gauge":
2004
            case "line":
2005
            case "pie":
2006
            case "scatter":
2007
            case "spline":
2008
            case "waterfall":
2009
            $this->type = $type;
2010
            break;
2011
        }
2012
        return $this;
2013
    }
2014
2015
    /**
2016
     * Set the visible.
2017
     *
2018
     * @param boolean $visible The visible.
2019
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
2020
     */
2021
    public function setVisible($visible) {
2022
        $this->visible = $visible;
2023
        return $this;
2024
    }
2025
2026
    /**
2027
     * Set the whisker color.
2028
     *
2029
     * @param string $whiskerColor The whisker color.
2030
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
2031
     */
2032
    public function setWhiskerColor($whiskerColor) {
2033
        $this->whiskerColor = $whiskerColor;
2034
        return $this;
2035
    }
2036
2037
    /**
2038
     * Set the whisker length.
2039
     *
2040
     * @param integer|string $whiskerLength The whisker length.
2041
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
2042
     */
2043
    public function setWhiskerLength($whiskerLength) {
2044
        $this->whiskerLength = $whiskerLength;
2045
        return $this;
2046
    }
2047
2048
    /**
2049
     * Set the whisker width.
2050
     *
2051
     * @param integer $whiskerWidth The whisker width.
2052
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
2053
     */
2054
    public function setWhiskerWidth($whiskerWidth) {
2055
        $this->whiskerWidth = $whiskerWidth;
2056
        return $this;
2057
    }
2058
2059
    /**
2060
     * Set the x axis.
2061
     *
2062
     * @param integer|string $xAxis The x axis.
2063
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
2064
     */
2065
    public function setXAxis($xAxis) {
2066
        $this->xAxis = $xAxis;
2067
        return $this;
2068
    }
2069
2070
    /**
2071
     * Set the y axis.
2072
     *
2073
     * @param integer|string $yAxis The y axis.
2074
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
2075
     */
2076
    public function setYAxis($yAxis) {
2077
        $this->yAxis = $yAxis;
2078
        return $this;
2079
    }
2080
2081
    /**
2082
     * Set the z index.
2083
     *
2084
     * @param integer $zIndex The z index.
2085
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
2086
     */
2087
    public function setZIndex($zIndex) {
2088
        $this->zIndex = $zIndex;
2089
        return $this;
2090
    }
2091
2092
    /**
2093
     * Set the zone axis.
2094
     *
2095
     * @param string $zoneAxis The zone axis.
2096
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
2097
     */
2098
    public function setZoneAxis($zoneAxis) {
2099
        $this->zoneAxis = $zoneAxis;
2100
        return $this;
2101
    }
2102
2103
    /**
2104
     * Set the zones.
2105
     *
2106
     * @param array $zones The zones.
2107
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBoxplot Returns the highcharts boxplot.
2108
     */
2109
    public function setZones(array $zones = null) {
2110
        $this->zones = $zones;
0 ignored issues
show
Documentation Bug introduced by
It seems like $zones can be null. However, the property $zones is declared as array. Maybe change the type of the property to array|null or add a type check?

Our type inference engine has found an assignment of a scalar value (like a string, an integer or null) to a property which is an array.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property.

To type hint that a parameter can be either an array or null, you can set a type hint of array and a default value of null. The PHP interpreter will then accept both an array or null for that parameter.

function aContainsB(array $needle = null, array  $haystack) {
    if (!$needle) {
        return false;
    }

    return array_intersect($haystack, $needle) == $haystack;
}

The function can be called with either null or an array for the parameter $needle but will only accept an array as $haystack.

Loading history...
2111
        return $this;
2112
    }
2113
2114
    /**
2115
     * Convert into an array representing this instance.
2116
     *
2117
     * @return array Returns an array representing this instance.
2118
     */
2119
    public function toArray() {
2120
2121
        // Initialize the output.
2122
        $output = [];
2123
2124
        // Set the allow point select.
2125
        ArrayUtility::set($output, "allowPointSelect", $this->allowPointSelect, [null]);
2126
2127
        // Set the animation limit.
2128
        ArrayUtility::set($output, "animationLimit", $this->animationLimit, [null]);
2129
2130
        // Set the class name.
2131
        ArrayUtility::set($output, "className", $this->className, [null]);
2132
2133
        // Set the color.
2134
        ArrayUtility::set($output, "color", $this->color, [null]);
2135
2136
        // Set the color by point.
2137
        ArrayUtility::set($output, "colorByPoint", $this->colorByPoint, [null]);
2138
2139
        // Set the color index.
2140
        ArrayUtility::set($output, "colorIndex", $this->colorIndex, [null]);
2141
2142
        // Set the colors.
2143
        ArrayUtility::set($output, "colors", $this->colors, [null]);
2144
2145
        // Set the crisp.
2146
        ArrayUtility::set($output, "crisp", $this->crisp, [null]);
2147
2148
        // Set the cursor.
2149
        ArrayUtility::set($output, "cursor", $this->cursor, [null]);
2150
2151
        // Set the data.
2152
        ArrayUtility::set($output, "data", $this->data, [null]);
2153
2154
        // Set the depth.
2155
        ArrayUtility::set($output, "depth", $this->depth, [null]);
2156
2157
        // Set the description.
2158
        ArrayUtility::set($output, "description", $this->description, [null]);
2159
2160
        // Set the edge color.
2161
        ArrayUtility::set($output, "edgeColor", $this->edgeColor, [null]);
2162
2163
        // Set the edge width.
2164
        ArrayUtility::set($output, "edgeWidth", $this->edgeWidth, [null]);
2165
2166
        // Set the enable mouse tracking.
2167
        ArrayUtility::set($output, "enableMouseTracking", $this->enableMouseTracking, [null]);
2168
2169
        // Set the events.
2170
        if (null !== $this->events) {
2171
            ArrayUtility::set($output, "events", $this->events->toArray(), []);
2172
        }
2173
2174
        // Set the expose element to a11y.
2175
        ArrayUtility::set($output, "exposeElementToA11y", $this->exposeElementToA11y, [null]);
2176
2177
        // Set the fill color.
2178
        ArrayUtility::set($output, "fillColor", $this->fillColor, [null]);
2179
2180
        // Set the find nearest point by.
2181
        ArrayUtility::set($output, "findNearestPointBy", $this->findNearestPointBy, [null]);
2182
2183
        // Set the get extremes from all.
2184
        ArrayUtility::set($output, "getExtremesFromAll", $this->getExtremesFromAll, [null]);
2185
2186
        // Set the group padding.
2187
        ArrayUtility::set($output, "groupPadding", $this->groupPadding, [null]);
2188
2189
        // Set the group z padding.
2190
        ArrayUtility::set($output, "groupZPadding", $this->groupZPadding, [null]);
2191
2192
        // Set the grouping.
2193
        ArrayUtility::set($output, "grouping", $this->grouping, [null]);
2194
2195
        // Set the id.
2196
        ArrayUtility::set($output, "id", $this->id, [null]);
2197
2198
        // Set the index.
2199
        ArrayUtility::set($output, "index", $this->index, [null]);
2200
2201
        // Set the keys.
2202
        ArrayUtility::set($output, "keys", $this->keys, [null]);
2203
2204
        // Set the legend index.
2205
        ArrayUtility::set($output, "legendIndex", $this->legendIndex, [null]);
2206
2207
        // Set the line width.
2208
        ArrayUtility::set($output, "lineWidth", $this->lineWidth, [null]);
2209
2210
        // Set the linked to.
2211
        ArrayUtility::set($output, "linkedTo", $this->linkedTo, [null]);
2212
2213
        // Set the max point width.
2214
        ArrayUtility::set($output, "maxPointWidth", $this->maxPointWidth, [null]);
2215
2216
        // Set the median color.
2217
        ArrayUtility::set($output, "medianColor", $this->medianColor, [null]);
2218
2219
        // Set the median width.
2220
        ArrayUtility::set($output, "medianWidth", $this->medianWidth, [null]);
2221
2222
        // Set the name.
2223
        ArrayUtility::set($output, "name", $this->name, [null]);
2224
2225
        // Set the negative color.
2226
        ArrayUtility::set($output, "negativeColor", $this->negativeColor, [null]);
2227
2228
        // Set the point.
2229
        if (null !== $this->point) {
2230
            ArrayUtility::set($output, "point", $this->point->toArray(), []);
2231
        }
2232
2233
        // Set the point description formatter.
2234
        ArrayUtility::set($output, "pointDescriptionFormatter", $this->pointDescriptionFormatter, [null]);
2235
2236
        // Set the point interval.
2237
        ArrayUtility::set($output, "pointInterval", $this->pointInterval, [null]);
2238
2239
        // Set the point interval unit.
2240
        ArrayUtility::set($output, "pointIntervalUnit", $this->pointIntervalUnit, [null]);
2241
2242
        // Set the point padding.
2243
        ArrayUtility::set($output, "pointPadding", $this->pointPadding, [null]);
2244
2245
        // Set the point placement.
2246
        ArrayUtility::set($output, "pointPlacement", $this->pointPlacement, [null]);
2247
2248
        // Set the point range.
2249
        ArrayUtility::set($output, "pointRange", $this->pointRange, [null]);
2250
2251
        // Set the point start.
2252
        ArrayUtility::set($output, "pointStart", $this->pointStart, [null]);
2253
2254
        // Set the point width.
2255
        ArrayUtility::set($output, "pointWidth", $this->pointWidth, [null]);
2256
2257
        // Set the selected.
2258
        ArrayUtility::set($output, "selected", $this->selected, [null]);
2259
2260
        // Set the show checkbox.
2261
        ArrayUtility::set($output, "showCheckbox", $this->showCheckbox, [null]);
2262
2263
        // Set the show in legend.
2264
        ArrayUtility::set($output, "showInLegend", $this->showInLegend, [null]);
2265
2266
        // Set the skip keyboard navigation.
2267
        ArrayUtility::set($output, "skipKeyboardNavigation", $this->skipKeyboardNavigation, [null]);
2268
2269
        // Set the states.
2270
        if (null !== $this->states) {
2271
            ArrayUtility::set($output, "states", $this->states->toArray(), []);
2272
        }
2273
2274
        // Set the stem color.
2275
        ArrayUtility::set($output, "stemColor", $this->stemColor, [null]);
2276
2277
        // Set the stem dash style.
2278
        ArrayUtility::set($output, "stemDashStyle", $this->stemDashStyle, [null]);
2279
2280
        // Set the stem width.
2281
        ArrayUtility::set($output, "stemWidth", $this->stemWidth, [null]);
2282
2283
        // Set the sticky tracking.
2284
        ArrayUtility::set($output, "stickyTracking", $this->stickyTracking, [null]);
2285
2286
        // Set the tooltip.
2287
        ArrayUtility::set($output, "tooltip", $this->tooltip, [null]);
2288
2289
        // Set the turbo threshold.
2290
        ArrayUtility::set($output, "turboThreshold", $this->turboThreshold, [null]);
2291
2292
        // Set the type.
2293
        ArrayUtility::set($output, "type", $this->type, [null]);
2294
2295
        // Set the visible.
2296
        ArrayUtility::set($output, "visible", $this->visible, [null]);
2297
2298
        // Set the whisker color.
2299
        ArrayUtility::set($output, "whiskerColor", $this->whiskerColor, [null]);
2300
2301
        // Set the whisker length.
2302
        ArrayUtility::set($output, "whiskerLength", $this->whiskerLength, [null]);
2303
2304
        // Set the whisker width.
2305
        ArrayUtility::set($output, "whiskerWidth", $this->whiskerWidth, [null]);
2306
2307
        // Set the x axis.
2308
        ArrayUtility::set($output, "xAxis", $this->xAxis, [null]);
2309
2310
        // Set the y axis.
2311
        ArrayUtility::set($output, "yAxis", $this->yAxis, [null]);
2312
2313
        // Set the z index.
2314
        ArrayUtility::set($output, "zIndex", $this->zIndex, [null]);
2315
2316
        // Set the zone axis.
2317
        ArrayUtility::set($output, "zoneAxis", $this->zoneAxis, [null]);
2318
2319
        // Set the zones.
2320
        ArrayUtility::set($output, "zones", $this->zones, [null]);
2321
2322
        // Return the output.
2323
        return $output;
2324
    }
2325
2326
}
2327