Complex classes like HighchartsPyramid often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes. You can also have a look at the cohesion graph to spot any un-connected, or weakly-connected components.
Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.
While breaking up the class, it is a good idea to analyze how other classes use HighchartsPyramid, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
25 | final class HighchartsPyramid 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 | * Border color. |
||
44 | * |
||
45 | * @var string |
||
46 | */ |
||
47 | private $borderColor = "#ffffff"; |
||
48 | |||
49 | /** |
||
50 | * Border width. |
||
51 | * |
||
52 | * @var integer |
||
53 | */ |
||
54 | private $borderWidth = 1; |
||
55 | |||
56 | /** |
||
57 | * Center. |
||
58 | * |
||
59 | * @var array |
||
60 | * @since 3.0 |
||
61 | */ |
||
62 | private $center = ["50%", "50%"]; |
||
63 | |||
64 | /** |
||
65 | * Class name. |
||
66 | * |
||
67 | * @var string |
||
68 | * @since 5.0.0 |
||
69 | */ |
||
70 | private $className; |
||
71 | |||
72 | /** |
||
73 | * Color index. |
||
74 | * |
||
75 | * @var integer |
||
76 | * @since 5.0.0 |
||
77 | */ |
||
78 | private $colorIndex; |
||
79 | |||
80 | /** |
||
81 | * Colors. |
||
82 | * |
||
83 | * @var array |
||
84 | * @since 3.0 |
||
85 | */ |
||
86 | private $colors; |
||
87 | |||
88 | /** |
||
89 | * Cursor. |
||
90 | * |
||
91 | * @var string |
||
92 | */ |
||
93 | private $cursor; |
||
94 | |||
95 | /** |
||
96 | * Data. |
||
97 | * |
||
98 | * @var array |
||
99 | */ |
||
100 | private $data; |
||
101 | |||
102 | /** |
||
103 | * Data labels. |
||
104 | * |
||
105 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsDataLabels |
||
106 | */ |
||
107 | private $dataLabels; |
||
108 | |||
109 | /** |
||
110 | * Depth. |
||
111 | * |
||
112 | * @var integer |
||
113 | * @since 4.0 |
||
114 | */ |
||
115 | private $depth = 0; |
||
116 | |||
117 | /** |
||
118 | * Description. |
||
119 | * |
||
120 | * @var string |
||
121 | * @since 5.0.0 |
||
122 | */ |
||
123 | private $description; |
||
124 | |||
125 | /** |
||
126 | * Enable mouse tracking. |
||
127 | * |
||
128 | * @var boolean |
||
129 | */ |
||
130 | private $enableMouseTracking = true; |
||
131 | |||
132 | /** |
||
133 | * Events. |
||
134 | * |
||
135 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsEvents |
||
136 | */ |
||
137 | private $events; |
||
138 | |||
139 | /** |
||
140 | * Expose element to a11y. |
||
141 | * |
||
142 | * @var boolean |
||
143 | * @since 5.0.12 |
||
144 | */ |
||
145 | private $exposeElementToA11y; |
||
146 | |||
147 | /** |
||
148 | * Find nearest point by. |
||
149 | * |
||
150 | * @var string |
||
151 | * @since 5.0.10 |
||
152 | */ |
||
153 | private $findNearestPointBy; |
||
154 | |||
155 | /** |
||
156 | * Get extremes from all. |
||
157 | * |
||
158 | * @var boolean |
||
159 | * @since 4.1.6 |
||
160 | */ |
||
161 | private $getExtremesFromAll = false; |
||
162 | |||
163 | /** |
||
164 | * Height. |
||
165 | * |
||
166 | * @var integer|string |
||
167 | * @since 3.0 |
||
168 | */ |
||
169 | private $height; |
||
170 | |||
171 | /** |
||
172 | * Id. |
||
173 | * |
||
174 | * @var string |
||
175 | * @since 1.2.0 |
||
176 | */ |
||
177 | private $id; |
||
178 | |||
179 | /** |
||
180 | * Index. |
||
181 | * |
||
182 | * @var integer |
||
183 | * @since 2.3.0 |
||
184 | */ |
||
185 | private $index; |
||
186 | |||
187 | /** |
||
188 | * Keys. |
||
189 | * |
||
190 | * @var array |
||
191 | * @since 4.1.6 |
||
192 | */ |
||
193 | private $keys; |
||
194 | |||
195 | /** |
||
196 | * Legend index. |
||
197 | * |
||
198 | * @var integer |
||
199 | */ |
||
200 | private $legendIndex; |
||
201 | |||
202 | /** |
||
203 | * Linked to. |
||
204 | * |
||
205 | * @var string |
||
206 | * @since 3.0 |
||
207 | */ |
||
208 | private $linkedTo; |
||
209 | |||
210 | /** |
||
211 | * Min size. |
||
212 | * |
||
213 | * @var integer |
||
214 | * @since 3.0 |
||
215 | */ |
||
216 | private $minSize = 80; |
||
217 | |||
218 | /** |
||
219 | * Name. |
||
220 | * |
||
221 | * @var string |
||
222 | */ |
||
223 | private $name; |
||
224 | |||
225 | /** |
||
226 | * Point. |
||
227 | * |
||
228 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsPoint |
||
229 | */ |
||
230 | private $point; |
||
231 | |||
232 | /** |
||
233 | * Point description formatter. |
||
234 | * |
||
235 | * @var string |
||
236 | * @since 5.0.12 |
||
237 | */ |
||
238 | private $pointDescriptionFormatter; |
||
239 | |||
240 | /** |
||
241 | * Reversed. |
||
242 | * |
||
243 | * @var boolean |
||
244 | * @since 3.0.10 |
||
245 | */ |
||
246 | private $reversed = true; |
||
247 | |||
248 | /** |
||
249 | * Selected. |
||
250 | * |
||
251 | * @var boolean |
||
252 | * @since 1.2.0 |
||
253 | */ |
||
254 | private $selected = false; |
||
255 | |||
256 | /** |
||
257 | * Shadow. |
||
258 | * |
||
259 | * @var boolean|array |
||
260 | */ |
||
261 | private $shadow = false; |
||
262 | |||
263 | /** |
||
264 | * Show in legend. |
||
265 | * |
||
266 | * @var boolean |
||
267 | */ |
||
268 | private $showInLegend = false; |
||
269 | |||
270 | /** |
||
271 | * Skip keyboard navigation. |
||
272 | * |
||
273 | * @var boolean |
||
274 | * @since 5.0.12 |
||
275 | */ |
||
276 | private $skipKeyboardNavigation; |
||
277 | |||
278 | /** |
||
279 | * Sliced offset. |
||
280 | * |
||
281 | * @var integer |
||
282 | */ |
||
283 | private $slicedOffset = 10; |
||
284 | |||
285 | /** |
||
286 | * States. |
||
287 | * |
||
288 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsStates |
||
289 | */ |
||
290 | private $states; |
||
291 | |||
292 | /** |
||
293 | * Sticky tracking. |
||
294 | * |
||
295 | * @var boolean |
||
296 | */ |
||
297 | private $stickyTracking = false; |
||
298 | |||
299 | /** |
||
300 | * Tooltip. |
||
301 | * |
||
302 | * @var array |
||
303 | * @since 2.3 |
||
304 | */ |
||
305 | private $tooltip; |
||
306 | |||
307 | /** |
||
308 | * Type. |
||
309 | * |
||
310 | * @var string |
||
311 | */ |
||
312 | private $type; |
||
313 | |||
314 | /** |
||
315 | * Visible. |
||
316 | * |
||
317 | * @var boolean |
||
318 | */ |
||
319 | private $visible = true; |
||
320 | |||
321 | /** |
||
322 | * Width. |
||
323 | * |
||
324 | * @var integer|string |
||
325 | * @since 3.0 |
||
326 | */ |
||
327 | private $width = "90%"; |
||
328 | |||
329 | /** |
||
330 | * Z index. |
||
331 | * |
||
332 | * @var integer |
||
333 | */ |
||
334 | private $zIndex; |
||
335 | |||
336 | /** |
||
337 | * Zone axis. |
||
338 | * |
||
339 | * @var string |
||
340 | * @since 4.1.0 |
||
341 | */ |
||
342 | private $zoneAxis = "y"; |
||
343 | |||
344 | /** |
||
345 | * Zones. |
||
346 | * |
||
347 | * @var array |
||
348 | * @since 4.1.0 |
||
349 | */ |
||
350 | private $zones; |
||
351 | |||
352 | /** |
||
353 | * Constructor. |
||
354 | * |
||
355 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
356 | */ |
||
357 | public function __construct($ignoreDefaultValues = true) { |
||
362 | |||
363 | /** |
||
364 | * Clear. |
||
365 | * |
||
366 | * @return void |
||
367 | */ |
||
368 | public function clear() { |
||
507 | |||
508 | /** |
||
509 | * Get the allow point select. |
||
510 | * |
||
511 | * @return boolean Returns the allow point select. |
||
512 | */ |
||
513 | public function getAllowPointSelect() { |
||
516 | |||
517 | /** |
||
518 | * Get the animation limit. |
||
519 | * |
||
520 | * @return integer Returns the animation limit. |
||
521 | */ |
||
522 | public function getAnimationLimit() { |
||
525 | |||
526 | /** |
||
527 | * Get the border color. |
||
528 | * |
||
529 | * @return string Returns the border color. |
||
530 | */ |
||
531 | public function getBorderColor() { |
||
534 | |||
535 | /** |
||
536 | * Get the border width. |
||
537 | * |
||
538 | * @return integer Returns the border width. |
||
539 | */ |
||
540 | public function getBorderWidth() { |
||
543 | |||
544 | /** |
||
545 | * Get the center. |
||
546 | * |
||
547 | * @return array Returns the center. |
||
548 | */ |
||
549 | public function getCenter() { |
||
552 | |||
553 | /** |
||
554 | * Get the class name. |
||
555 | * |
||
556 | * @return string Returns the class name. |
||
557 | */ |
||
558 | public function getClassName() { |
||
561 | |||
562 | /** |
||
563 | * Get the color index. |
||
564 | * |
||
565 | * @return integer Returns the color index. |
||
566 | */ |
||
567 | public function getColorIndex() { |
||
570 | |||
571 | /** |
||
572 | * Get the colors. |
||
573 | * |
||
574 | * @return array Returns the colors. |
||
575 | */ |
||
576 | public function getColors() { |
||
579 | |||
580 | /** |
||
581 | * Get the cursor. |
||
582 | * |
||
583 | * @return string Returns the cursor. |
||
584 | */ |
||
585 | public function getCursor() { |
||
588 | |||
589 | /** |
||
590 | * Get the data. |
||
591 | * |
||
592 | * @return array Returns the data. |
||
593 | */ |
||
594 | public function getData() { |
||
597 | |||
598 | /** |
||
599 | * Get the data labels. |
||
600 | * |
||
601 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsDataLabels Returns the data labels. |
||
602 | */ |
||
603 | public function getDataLabels() { |
||
606 | |||
607 | /** |
||
608 | * Get the depth. |
||
609 | * |
||
610 | * @return integer Returns the depth. |
||
611 | */ |
||
612 | public function getDepth() { |
||
615 | |||
616 | /** |
||
617 | * Get the description. |
||
618 | * |
||
619 | * @return string Returns the description. |
||
620 | */ |
||
621 | public function getDescription() { |
||
624 | |||
625 | /** |
||
626 | * Get the enable mouse tracking. |
||
627 | * |
||
628 | * @return boolean Returns the enable mouse tracking. |
||
629 | */ |
||
630 | public function getEnableMouseTracking() { |
||
633 | |||
634 | /** |
||
635 | * Get the events. |
||
636 | * |
||
637 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsEvents Returns the events. |
||
638 | */ |
||
639 | public function getEvents() { |
||
642 | |||
643 | /** |
||
644 | * Get the expose element to a11y. |
||
645 | * |
||
646 | * @return boolean Returns the expose element to a11y. |
||
647 | */ |
||
648 | public function getExposeElementToA11y() { |
||
651 | |||
652 | /** |
||
653 | * Get the find nearest point by. |
||
654 | * |
||
655 | * @return string Returns the find nearest point by. |
||
656 | */ |
||
657 | public function getFindNearestPointBy() { |
||
660 | |||
661 | /** |
||
662 | * Get the get extremes from all. |
||
663 | * |
||
664 | * @return boolean Returns the get extremes from all. |
||
665 | */ |
||
666 | public function getGetExtremesFromAll() { |
||
669 | |||
670 | /** |
||
671 | * Get the height. |
||
672 | * |
||
673 | * @return integer|string Returns the height. |
||
674 | */ |
||
675 | public function getHeight() { |
||
678 | |||
679 | /** |
||
680 | * Get the id. |
||
681 | * |
||
682 | * @return string Returns the id. |
||
683 | */ |
||
684 | public function getId() { |
||
687 | |||
688 | /** |
||
689 | * Get the index. |
||
690 | * |
||
691 | * @return integer Returns the index. |
||
692 | */ |
||
693 | public function getIndex() { |
||
696 | |||
697 | /** |
||
698 | * Get the keys. |
||
699 | * |
||
700 | * @return array Returns the keys. |
||
701 | */ |
||
702 | public function getKeys() { |
||
705 | |||
706 | /** |
||
707 | * Get the legend index. |
||
708 | * |
||
709 | * @return integer Returns the legend index. |
||
710 | */ |
||
711 | public function getLegendIndex() { |
||
714 | |||
715 | /** |
||
716 | * Get the linked to. |
||
717 | * |
||
718 | * @return string Returns the linked to. |
||
719 | */ |
||
720 | public function getLinkedTo() { |
||
723 | |||
724 | /** |
||
725 | * Get the min size. |
||
726 | * |
||
727 | * @return integer Returns the min size. |
||
728 | */ |
||
729 | public function getMinSize() { |
||
732 | |||
733 | /** |
||
734 | * Get the name. |
||
735 | * |
||
736 | * @return string Returns the name. |
||
737 | */ |
||
738 | public function getName() { |
||
741 | |||
742 | /** |
||
743 | * Get the point. |
||
744 | * |
||
745 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsPoint Returns the point. |
||
746 | */ |
||
747 | public function getPoint() { |
||
750 | |||
751 | /** |
||
752 | * Get the point description formatter. |
||
753 | * |
||
754 | * @return string Returns the point description formatter. |
||
755 | */ |
||
756 | public function getPointDescriptionFormatter() { |
||
759 | |||
760 | /** |
||
761 | * Get the reversed. |
||
762 | * |
||
763 | * @return boolean Returns the reversed. |
||
764 | */ |
||
765 | public function getReversed() { |
||
768 | |||
769 | /** |
||
770 | * Get the selected. |
||
771 | * |
||
772 | * @return boolean Returns the selected. |
||
773 | */ |
||
774 | public function getSelected() { |
||
777 | |||
778 | /** |
||
779 | * Get the shadow. |
||
780 | * |
||
781 | * @return boolean|array Returns the shadow. |
||
782 | */ |
||
783 | public function getShadow() { |
||
786 | |||
787 | /** |
||
788 | * Get the show in legend. |
||
789 | * |
||
790 | * @return boolean Returns the show in legend. |
||
791 | */ |
||
792 | public function getShowInLegend() { |
||
795 | |||
796 | /** |
||
797 | * Get the skip keyboard navigation. |
||
798 | * |
||
799 | * @return boolean Returns the skip keyboard navigation. |
||
800 | */ |
||
801 | public function getSkipKeyboardNavigation() { |
||
804 | |||
805 | /** |
||
806 | * Get the sliced offset. |
||
807 | * |
||
808 | * @return integer Returns the sliced offset. |
||
809 | */ |
||
810 | public function getSlicedOffset() { |
||
813 | |||
814 | /** |
||
815 | * Get the states. |
||
816 | * |
||
817 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsStates Returns the states. |
||
818 | */ |
||
819 | public function getStates() { |
||
822 | |||
823 | /** |
||
824 | * Get the sticky tracking. |
||
825 | * |
||
826 | * @return boolean Returns the sticky tracking. |
||
827 | */ |
||
828 | public function getStickyTracking() { |
||
831 | |||
832 | /** |
||
833 | * Get the tooltip. |
||
834 | * |
||
835 | * @return array Returns the tooltip. |
||
836 | */ |
||
837 | public function getTooltip() { |
||
840 | |||
841 | /** |
||
842 | * Get the type. |
||
843 | * |
||
844 | * @return string Returns the type. |
||
845 | */ |
||
846 | public function getType() { |
||
849 | |||
850 | /** |
||
851 | * Get the visible. |
||
852 | * |
||
853 | * @return boolean Returns the visible. |
||
854 | */ |
||
855 | public function getVisible() { |
||
858 | |||
859 | /** |
||
860 | * Get the width. |
||
861 | * |
||
862 | * @return integer|string Returns the width. |
||
863 | */ |
||
864 | public function getWidth() { |
||
867 | |||
868 | /** |
||
869 | * Get the z index. |
||
870 | * |
||
871 | * @return integer Returns the z index. |
||
872 | */ |
||
873 | public function getZIndex() { |
||
876 | |||
877 | /** |
||
878 | * Get the zone axis. |
||
879 | * |
||
880 | * @return string Returns the zone axis. |
||
881 | */ |
||
882 | public function getZoneAxis() { |
||
885 | |||
886 | /** |
||
887 | * Get the zones. |
||
888 | * |
||
889 | * @return array Returns the zones. |
||
890 | */ |
||
891 | public function getZones() { |
||
894 | |||
895 | /** |
||
896 | * Serialize this instance. |
||
897 | * |
||
898 | * @return array Returns an array representing this instance. |
||
899 | */ |
||
900 | public function jsonSerialize() { |
||
903 | |||
904 | /** |
||
905 | * Create a new data labels. |
||
906 | * |
||
907 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsDataLabels Returns the data labels. |
||
908 | */ |
||
909 | public function newDataLabels() { |
||
913 | |||
914 | /** |
||
915 | * Create a new events. |
||
916 | * |
||
917 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsEvents Returns the events. |
||
918 | */ |
||
919 | public function newEvents() { |
||
923 | |||
924 | /** |
||
925 | * Create a new point. |
||
926 | * |
||
927 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsPoint Returns the point. |
||
928 | */ |
||
929 | public function newPoint() { |
||
933 | |||
934 | /** |
||
935 | * Create a new states. |
||
936 | * |
||
937 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsStates Returns the states. |
||
938 | */ |
||
939 | public function newStates() { |
||
943 | |||
944 | /** |
||
945 | * Set the allow point select. |
||
946 | * |
||
947 | * @param boolean $allowPointSelect The allow point select. |
||
948 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
949 | */ |
||
950 | public function setAllowPointSelect($allowPointSelect) { |
||
954 | |||
955 | /** |
||
956 | * Set the animation limit. |
||
957 | * |
||
958 | * @param integer $animationLimit The animation limit. |
||
959 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
960 | */ |
||
961 | public function setAnimationLimit($animationLimit) { |
||
965 | |||
966 | /** |
||
967 | * Set the border color. |
||
968 | * |
||
969 | * @param string $borderColor The border color. |
||
970 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
971 | */ |
||
972 | public function setBorderColor($borderColor) { |
||
976 | |||
977 | /** |
||
978 | * Set the border width. |
||
979 | * |
||
980 | * @param integer $borderWidth The border width. |
||
981 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
982 | */ |
||
983 | public function setBorderWidth($borderWidth) { |
||
987 | |||
988 | /** |
||
989 | * Set the center. |
||
990 | * |
||
991 | * @param array $center The center. |
||
992 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
993 | */ |
||
994 | public function setCenter(array $center = null) { |
||
998 | |||
999 | /** |
||
1000 | * Set the class name. |
||
1001 | * |
||
1002 | * @param string $className The class name. |
||
1003 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1004 | */ |
||
1005 | public function setClassName($className) { |
||
1009 | |||
1010 | /** |
||
1011 | * Set the color index. |
||
1012 | * |
||
1013 | * @param integer $colorIndex The color index. |
||
1014 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1015 | */ |
||
1016 | public function setColorIndex($colorIndex) { |
||
1020 | |||
1021 | /** |
||
1022 | * Set the colors. |
||
1023 | * |
||
1024 | * @param array $colors The colors. |
||
1025 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1026 | */ |
||
1027 | public function setColors(array $colors = null) { |
||
1031 | |||
1032 | /** |
||
1033 | * Set the cursor. |
||
1034 | * |
||
1035 | * @param string $cursor The cursor. |
||
1036 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1037 | */ |
||
1038 | public function setCursor($cursor) { |
||
1051 | |||
1052 | /** |
||
1053 | * Set the data. |
||
1054 | * |
||
1055 | * @param array $data The data. |
||
1056 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1057 | */ |
||
1058 | public function setData(array $data = null) { |
||
1062 | |||
1063 | /** |
||
1064 | * Set the data labels. |
||
1065 | * |
||
1066 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsDataLabels $dataLabels The data labels. |
||
1067 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1068 | */ |
||
1069 | public function setDataLabels(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsDataLabels $dataLabels = null) { |
||
1073 | |||
1074 | /** |
||
1075 | * Set the depth. |
||
1076 | * |
||
1077 | * @param integer $depth The depth. |
||
1078 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1079 | */ |
||
1080 | public function setDepth($depth) { |
||
1084 | |||
1085 | /** |
||
1086 | * Set the description. |
||
1087 | * |
||
1088 | * @param string $description The description. |
||
1089 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1090 | */ |
||
1091 | public function setDescription($description) { |
||
1095 | |||
1096 | /** |
||
1097 | * Set the enable mouse tracking. |
||
1098 | * |
||
1099 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
1100 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1101 | */ |
||
1102 | public function setEnableMouseTracking($enableMouseTracking) { |
||
1106 | |||
1107 | /** |
||
1108 | * Set the events. |
||
1109 | * |
||
1110 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsEvents $events The events. |
||
1111 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1112 | */ |
||
1113 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsEvents $events = null) { |
||
1117 | |||
1118 | /** |
||
1119 | * Set the expose element to a11y. |
||
1120 | * |
||
1121 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
1122 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1123 | */ |
||
1124 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
1128 | |||
1129 | /** |
||
1130 | * Set the find nearest point by. |
||
1131 | * |
||
1132 | * @param string $findNearestPointBy The find nearest point by. |
||
1133 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1134 | */ |
||
1135 | public function setFindNearestPointBy($findNearestPointBy) { |
||
1144 | |||
1145 | /** |
||
1146 | * Set the get extremes from all. |
||
1147 | * |
||
1148 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
1149 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1150 | */ |
||
1151 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
1155 | |||
1156 | /** |
||
1157 | * Set the height. |
||
1158 | * |
||
1159 | * @param integer|string $height The height. |
||
1160 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1161 | */ |
||
1162 | public function setHeight($height) { |
||
1166 | |||
1167 | /** |
||
1168 | * Set the id. |
||
1169 | * |
||
1170 | * @param string $id The id. |
||
1171 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1172 | */ |
||
1173 | public function setId($id) { |
||
1177 | |||
1178 | /** |
||
1179 | * Set the index. |
||
1180 | * |
||
1181 | * @param integer $index The index. |
||
1182 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1183 | */ |
||
1184 | public function setIndex($index) { |
||
1188 | |||
1189 | /** |
||
1190 | * Set the keys. |
||
1191 | * |
||
1192 | * @param array $keys The keys. |
||
1193 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1194 | */ |
||
1195 | public function setKeys(array $keys = null) { |
||
1199 | |||
1200 | /** |
||
1201 | * Set the legend index. |
||
1202 | * |
||
1203 | * @param integer $legendIndex The legend index. |
||
1204 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1205 | */ |
||
1206 | public function setLegendIndex($legendIndex) { |
||
1210 | |||
1211 | /** |
||
1212 | * Set the linked to. |
||
1213 | * |
||
1214 | * @param string $linkedTo The linked to. |
||
1215 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1216 | */ |
||
1217 | public function setLinkedTo($linkedTo) { |
||
1221 | |||
1222 | /** |
||
1223 | * Set the min size. |
||
1224 | * |
||
1225 | * @param integer $minSize The min size. |
||
1226 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1227 | */ |
||
1228 | public function setMinSize($minSize) { |
||
1232 | |||
1233 | /** |
||
1234 | * Set the name. |
||
1235 | * |
||
1236 | * @param string $name The name. |
||
1237 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1238 | */ |
||
1239 | public function setName($name) { |
||
1243 | |||
1244 | /** |
||
1245 | * Set the point. |
||
1246 | * |
||
1247 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsPoint $point The point. |
||
1248 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1249 | */ |
||
1250 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsPoint $point = null) { |
||
1254 | |||
1255 | /** |
||
1256 | * Set the point description formatter. |
||
1257 | * |
||
1258 | * @param string $pointDescriptionFormatter The point description formatter. |
||
1259 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1260 | */ |
||
1261 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
1265 | |||
1266 | /** |
||
1267 | * Set the reversed. |
||
1268 | * |
||
1269 | * @param boolean $reversed The reversed. |
||
1270 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1271 | */ |
||
1272 | public function setReversed($reversed) { |
||
1276 | |||
1277 | /** |
||
1278 | * Set the selected. |
||
1279 | * |
||
1280 | * @param boolean $selected The selected. |
||
1281 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1282 | */ |
||
1283 | public function setSelected($selected) { |
||
1287 | |||
1288 | /** |
||
1289 | * Set the shadow. |
||
1290 | * |
||
1291 | * @param boolean|array $shadow The shadow. |
||
1292 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1293 | */ |
||
1294 | public function setShadow($shadow) { |
||
1298 | |||
1299 | /** |
||
1300 | * Set the show in legend. |
||
1301 | * |
||
1302 | * @param boolean $showInLegend The show in legend. |
||
1303 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1304 | */ |
||
1305 | public function setShowInLegend($showInLegend) { |
||
1309 | |||
1310 | /** |
||
1311 | * Set the skip keyboard navigation. |
||
1312 | * |
||
1313 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
1314 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1315 | */ |
||
1316 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
1320 | |||
1321 | /** |
||
1322 | * Set the sliced offset. |
||
1323 | * |
||
1324 | * @param integer $slicedOffset The sliced offset. |
||
1325 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1326 | */ |
||
1327 | public function setSlicedOffset($slicedOffset) { |
||
1331 | |||
1332 | /** |
||
1333 | * Set the states. |
||
1334 | * |
||
1335 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsStates $states The states. |
||
1336 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1337 | */ |
||
1338 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsStates $states = null) { |
||
1342 | |||
1343 | /** |
||
1344 | * Set the sticky tracking. |
||
1345 | * |
||
1346 | * @param boolean $stickyTracking The sticky tracking. |
||
1347 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1348 | */ |
||
1349 | public function setStickyTracking($stickyTracking) { |
||
1353 | |||
1354 | /** |
||
1355 | * Set the tooltip. |
||
1356 | * |
||
1357 | * @param array $tooltip The tooltip. |
||
1358 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1359 | */ |
||
1360 | public function setTooltip(array $tooltip = null) { |
||
1364 | |||
1365 | /** |
||
1366 | * Set the type. |
||
1367 | * |
||
1368 | * @param string $type The type. |
||
1369 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1370 | */ |
||
1371 | public function setType($type) { |
||
1395 | |||
1396 | /** |
||
1397 | * Set the visible. |
||
1398 | * |
||
1399 | * @param boolean $visible The visible. |
||
1400 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1401 | */ |
||
1402 | public function setVisible($visible) { |
||
1406 | |||
1407 | /** |
||
1408 | * Set the width. |
||
1409 | * |
||
1410 | * @param integer|string $width The width. |
||
1411 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1412 | */ |
||
1413 | public function setWidth($width) { |
||
1417 | |||
1418 | /** |
||
1419 | * Set the z index. |
||
1420 | * |
||
1421 | * @param integer $zIndex The z index. |
||
1422 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1423 | */ |
||
1424 | public function setZIndex($zIndex) { |
||
1428 | |||
1429 | /** |
||
1430 | * Set the zone axis. |
||
1431 | * |
||
1432 | * @param string $zoneAxis The zone axis. |
||
1433 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1434 | */ |
||
1435 | public function setZoneAxis($zoneAxis) { |
||
1439 | |||
1440 | /** |
||
1441 | * Set the zones. |
||
1442 | * |
||
1443 | * @param array $zones The zones. |
||
1444 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid Returns the highcharts pyramid. |
||
1445 | */ |
||
1446 | public function setZones(array $zones = null) { |
||
1450 | |||
1451 | /** |
||
1452 | * Convert into an array representing this instance. |
||
1453 | * |
||
1454 | * @return array Returns an array representing this instance. |
||
1455 | */ |
||
1456 | public function toArray() { |
||
1601 | |||
1602 | } |
||
1603 |
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..