Complex classes like HighchartsFunnel 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 HighchartsFunnel, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
25 | final class HighchartsFunnel 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\Funnel\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\Funnel\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 | * Neck height. |
||
227 | * |
||
228 | * @var integer|string |
||
229 | */ |
||
230 | private $neckHeight = "25%"; |
||
231 | |||
232 | /** |
||
233 | * Neck width. |
||
234 | * |
||
235 | * @var integer|string |
||
236 | * @since 3.0 |
||
237 | */ |
||
238 | private $neckWidth = "30%"; |
||
239 | |||
240 | /** |
||
241 | * Point. |
||
242 | * |
||
243 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Funnel\HighchartsPoint |
||
244 | */ |
||
245 | private $point; |
||
246 | |||
247 | /** |
||
248 | * Point description formatter. |
||
249 | * |
||
250 | * @var string |
||
251 | * @since 5.0.12 |
||
252 | */ |
||
253 | private $pointDescriptionFormatter; |
||
254 | |||
255 | /** |
||
256 | * Reversed. |
||
257 | * |
||
258 | * @var boolean |
||
259 | * @since 3.0.10 |
||
260 | */ |
||
261 | private $reversed = false; |
||
262 | |||
263 | /** |
||
264 | * Selected. |
||
265 | * |
||
266 | * @var boolean |
||
267 | * @since 1.2.0 |
||
268 | */ |
||
269 | private $selected = false; |
||
270 | |||
271 | /** |
||
272 | * Shadow. |
||
273 | * |
||
274 | * @var boolean|array |
||
275 | */ |
||
276 | private $shadow = false; |
||
277 | |||
278 | /** |
||
279 | * Show in legend. |
||
280 | * |
||
281 | * @var boolean |
||
282 | */ |
||
283 | private $showInLegend = false; |
||
284 | |||
285 | /** |
||
286 | * Skip keyboard navigation. |
||
287 | * |
||
288 | * @var boolean |
||
289 | * @since 5.0.12 |
||
290 | */ |
||
291 | private $skipKeyboardNavigation; |
||
292 | |||
293 | /** |
||
294 | * Sliced offset. |
||
295 | * |
||
296 | * @var integer |
||
297 | */ |
||
298 | private $slicedOffset = 10; |
||
299 | |||
300 | /** |
||
301 | * States. |
||
302 | * |
||
303 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Funnel\HighchartsStates |
||
304 | */ |
||
305 | private $states; |
||
306 | |||
307 | /** |
||
308 | * Sticky tracking. |
||
309 | * |
||
310 | * @var boolean |
||
311 | */ |
||
312 | private $stickyTracking = false; |
||
313 | |||
314 | /** |
||
315 | * Tooltip. |
||
316 | * |
||
317 | * @var array |
||
318 | * @since 2.3 |
||
319 | */ |
||
320 | private $tooltip; |
||
321 | |||
322 | /** |
||
323 | * Type. |
||
324 | * |
||
325 | * @var string |
||
326 | */ |
||
327 | private $type; |
||
328 | |||
329 | /** |
||
330 | * Visible. |
||
331 | * |
||
332 | * @var boolean |
||
333 | */ |
||
334 | private $visible = true; |
||
335 | |||
336 | /** |
||
337 | * Width. |
||
338 | * |
||
339 | * @var integer|string |
||
340 | * @since 3.0 |
||
341 | */ |
||
342 | private $width = "90%"; |
||
343 | |||
344 | /** |
||
345 | * Z index. |
||
346 | * |
||
347 | * @var integer |
||
348 | */ |
||
349 | private $zIndex; |
||
350 | |||
351 | /** |
||
352 | * Zone axis. |
||
353 | * |
||
354 | * @var string |
||
355 | * @since 4.1.0 |
||
356 | */ |
||
357 | private $zoneAxis = "y"; |
||
358 | |||
359 | /** |
||
360 | * Zones. |
||
361 | * |
||
362 | * @var array |
||
363 | * @since 4.1.0 |
||
364 | */ |
||
365 | private $zones; |
||
366 | |||
367 | /** |
||
368 | * Constructor. |
||
369 | * |
||
370 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
371 | */ |
||
372 | public function __construct($ignoreDefaultValues = true) { |
||
377 | |||
378 | /** |
||
379 | * Clear. |
||
380 | * |
||
381 | * @return void |
||
382 | */ |
||
383 | public function clear() { |
||
528 | |||
529 | /** |
||
530 | * Get the allow point select. |
||
531 | * |
||
532 | * @return boolean Returns the allow point select. |
||
533 | */ |
||
534 | public function getAllowPointSelect() { |
||
537 | |||
538 | /** |
||
539 | * Get the animation limit. |
||
540 | * |
||
541 | * @return integer Returns the animation limit. |
||
542 | */ |
||
543 | public function getAnimationLimit() { |
||
546 | |||
547 | /** |
||
548 | * Get the border color. |
||
549 | * |
||
550 | * @return string Returns the border color. |
||
551 | */ |
||
552 | public function getBorderColor() { |
||
555 | |||
556 | /** |
||
557 | * Get the border width. |
||
558 | * |
||
559 | * @return integer Returns the border width. |
||
560 | */ |
||
561 | public function getBorderWidth() { |
||
564 | |||
565 | /** |
||
566 | * Get the center. |
||
567 | * |
||
568 | * @return array Returns the center. |
||
569 | */ |
||
570 | public function getCenter() { |
||
573 | |||
574 | /** |
||
575 | * Get the class name. |
||
576 | * |
||
577 | * @return string Returns the class name. |
||
578 | */ |
||
579 | public function getClassName() { |
||
582 | |||
583 | /** |
||
584 | * Get the color index. |
||
585 | * |
||
586 | * @return integer Returns the color index. |
||
587 | */ |
||
588 | public function getColorIndex() { |
||
591 | |||
592 | /** |
||
593 | * Get the colors. |
||
594 | * |
||
595 | * @return array Returns the colors. |
||
596 | */ |
||
597 | public function getColors() { |
||
600 | |||
601 | /** |
||
602 | * Get the cursor. |
||
603 | * |
||
604 | * @return string Returns the cursor. |
||
605 | */ |
||
606 | public function getCursor() { |
||
609 | |||
610 | /** |
||
611 | * Get the data. |
||
612 | * |
||
613 | * @return array Returns the data. |
||
614 | */ |
||
615 | public function getData() { |
||
618 | |||
619 | /** |
||
620 | * Get the data labels. |
||
621 | * |
||
622 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Funnel\HighchartsDataLabels Returns the data labels. |
||
623 | */ |
||
624 | public function getDataLabels() { |
||
627 | |||
628 | /** |
||
629 | * Get the depth. |
||
630 | * |
||
631 | * @return integer Returns the depth. |
||
632 | */ |
||
633 | public function getDepth() { |
||
636 | |||
637 | /** |
||
638 | * Get the description. |
||
639 | * |
||
640 | * @return string Returns the description. |
||
641 | */ |
||
642 | public function getDescription() { |
||
645 | |||
646 | /** |
||
647 | * Get the enable mouse tracking. |
||
648 | * |
||
649 | * @return boolean Returns the enable mouse tracking. |
||
650 | */ |
||
651 | public function getEnableMouseTracking() { |
||
654 | |||
655 | /** |
||
656 | * Get the events. |
||
657 | * |
||
658 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Funnel\HighchartsEvents Returns the events. |
||
659 | */ |
||
660 | public function getEvents() { |
||
663 | |||
664 | /** |
||
665 | * Get the expose element to a11y. |
||
666 | * |
||
667 | * @return boolean Returns the expose element to a11y. |
||
668 | */ |
||
669 | public function getExposeElementToA11y() { |
||
672 | |||
673 | /** |
||
674 | * Get the find nearest point by. |
||
675 | * |
||
676 | * @return string Returns the find nearest point by. |
||
677 | */ |
||
678 | public function getFindNearestPointBy() { |
||
681 | |||
682 | /** |
||
683 | * Get the get extremes from all. |
||
684 | * |
||
685 | * @return boolean Returns the get extremes from all. |
||
686 | */ |
||
687 | public function getGetExtremesFromAll() { |
||
690 | |||
691 | /** |
||
692 | * Get the height. |
||
693 | * |
||
694 | * @return integer|string Returns the height. |
||
695 | */ |
||
696 | public function getHeight() { |
||
699 | |||
700 | /** |
||
701 | * Get the id. |
||
702 | * |
||
703 | * @return string Returns the id. |
||
704 | */ |
||
705 | public function getId() { |
||
708 | |||
709 | /** |
||
710 | * Get the index. |
||
711 | * |
||
712 | * @return integer Returns the index. |
||
713 | */ |
||
714 | public function getIndex() { |
||
717 | |||
718 | /** |
||
719 | * Get the keys. |
||
720 | * |
||
721 | * @return array Returns the keys. |
||
722 | */ |
||
723 | public function getKeys() { |
||
726 | |||
727 | /** |
||
728 | * Get the legend index. |
||
729 | * |
||
730 | * @return integer Returns the legend index. |
||
731 | */ |
||
732 | public function getLegendIndex() { |
||
735 | |||
736 | /** |
||
737 | * Get the linked to. |
||
738 | * |
||
739 | * @return string Returns the linked to. |
||
740 | */ |
||
741 | public function getLinkedTo() { |
||
744 | |||
745 | /** |
||
746 | * Get the min size. |
||
747 | * |
||
748 | * @return integer Returns the min size. |
||
749 | */ |
||
750 | public function getMinSize() { |
||
753 | |||
754 | /** |
||
755 | * Get the name. |
||
756 | * |
||
757 | * @return string Returns the name. |
||
758 | */ |
||
759 | public function getName() { |
||
762 | |||
763 | /** |
||
764 | * Get the neck height. |
||
765 | * |
||
766 | * @return integer|string Returns the neck height. |
||
767 | */ |
||
768 | public function getNeckHeight() { |
||
771 | |||
772 | /** |
||
773 | * Get the neck width. |
||
774 | * |
||
775 | * @return integer|string Returns the neck width. |
||
776 | */ |
||
777 | public function getNeckWidth() { |
||
780 | |||
781 | /** |
||
782 | * Get the point. |
||
783 | * |
||
784 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Funnel\HighchartsPoint Returns the point. |
||
785 | */ |
||
786 | public function getPoint() { |
||
789 | |||
790 | /** |
||
791 | * Get the point description formatter. |
||
792 | * |
||
793 | * @return string Returns the point description formatter. |
||
794 | */ |
||
795 | public function getPointDescriptionFormatter() { |
||
798 | |||
799 | /** |
||
800 | * Get the reversed. |
||
801 | * |
||
802 | * @return boolean Returns the reversed. |
||
803 | */ |
||
804 | public function getReversed() { |
||
807 | |||
808 | /** |
||
809 | * Get the selected. |
||
810 | * |
||
811 | * @return boolean Returns the selected. |
||
812 | */ |
||
813 | public function getSelected() { |
||
816 | |||
817 | /** |
||
818 | * Get the shadow. |
||
819 | * |
||
820 | * @return boolean|array Returns the shadow. |
||
821 | */ |
||
822 | public function getShadow() { |
||
825 | |||
826 | /** |
||
827 | * Get the show in legend. |
||
828 | * |
||
829 | * @return boolean Returns the show in legend. |
||
830 | */ |
||
831 | public function getShowInLegend() { |
||
834 | |||
835 | /** |
||
836 | * Get the skip keyboard navigation. |
||
837 | * |
||
838 | * @return boolean Returns the skip keyboard navigation. |
||
839 | */ |
||
840 | public function getSkipKeyboardNavigation() { |
||
843 | |||
844 | /** |
||
845 | * Get the sliced offset. |
||
846 | * |
||
847 | * @return integer Returns the sliced offset. |
||
848 | */ |
||
849 | public function getSlicedOffset() { |
||
852 | |||
853 | /** |
||
854 | * Get the states. |
||
855 | * |
||
856 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Funnel\HighchartsStates Returns the states. |
||
857 | */ |
||
858 | public function getStates() { |
||
861 | |||
862 | /** |
||
863 | * Get the sticky tracking. |
||
864 | * |
||
865 | * @return boolean Returns the sticky tracking. |
||
866 | */ |
||
867 | public function getStickyTracking() { |
||
870 | |||
871 | /** |
||
872 | * Get the tooltip. |
||
873 | * |
||
874 | * @return array Returns the tooltip. |
||
875 | */ |
||
876 | public function getTooltip() { |
||
879 | |||
880 | /** |
||
881 | * Get the type. |
||
882 | * |
||
883 | * @return string Returns the type. |
||
884 | */ |
||
885 | public function getType() { |
||
888 | |||
889 | /** |
||
890 | * Get the visible. |
||
891 | * |
||
892 | * @return boolean Returns the visible. |
||
893 | */ |
||
894 | public function getVisible() { |
||
897 | |||
898 | /** |
||
899 | * Get the width. |
||
900 | * |
||
901 | * @return integer|string Returns the width. |
||
902 | */ |
||
903 | public function getWidth() { |
||
906 | |||
907 | /** |
||
908 | * Get the z index. |
||
909 | * |
||
910 | * @return integer Returns the z index. |
||
911 | */ |
||
912 | public function getZIndex() { |
||
915 | |||
916 | /** |
||
917 | * Get the zone axis. |
||
918 | * |
||
919 | * @return string Returns the zone axis. |
||
920 | */ |
||
921 | public function getZoneAxis() { |
||
924 | |||
925 | /** |
||
926 | * Get the zones. |
||
927 | * |
||
928 | * @return array Returns the zones. |
||
929 | */ |
||
930 | public function getZones() { |
||
933 | |||
934 | /** |
||
935 | * Serialize this instance. |
||
936 | * |
||
937 | * @return array Returns an array representing this instance. |
||
938 | */ |
||
939 | public function jsonSerialize() { |
||
942 | |||
943 | /** |
||
944 | * Create a new data labels. |
||
945 | * |
||
946 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Funnel\HighchartsDataLabels Returns the data labels. |
||
947 | */ |
||
948 | public function newDataLabels() { |
||
952 | |||
953 | /** |
||
954 | * Create a new events. |
||
955 | * |
||
956 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Funnel\HighchartsEvents Returns the events. |
||
957 | */ |
||
958 | public function newEvents() { |
||
962 | |||
963 | /** |
||
964 | * Create a new point. |
||
965 | * |
||
966 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Funnel\HighchartsPoint Returns the point. |
||
967 | */ |
||
968 | public function newPoint() { |
||
972 | |||
973 | /** |
||
974 | * Create a new states. |
||
975 | * |
||
976 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Funnel\HighchartsStates Returns the states. |
||
977 | */ |
||
978 | public function newStates() { |
||
982 | |||
983 | /** |
||
984 | * Set the allow point select. |
||
985 | * |
||
986 | * @param boolean $allowPointSelect The allow point select. |
||
987 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
988 | */ |
||
989 | public function setAllowPointSelect($allowPointSelect) { |
||
993 | |||
994 | /** |
||
995 | * Set the animation limit. |
||
996 | * |
||
997 | * @param integer $animationLimit The animation limit. |
||
998 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
999 | */ |
||
1000 | public function setAnimationLimit($animationLimit) { |
||
1004 | |||
1005 | /** |
||
1006 | * Set the border color. |
||
1007 | * |
||
1008 | * @param string $borderColor The border color. |
||
1009 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1010 | */ |
||
1011 | public function setBorderColor($borderColor) { |
||
1015 | |||
1016 | /** |
||
1017 | * Set the border width. |
||
1018 | * |
||
1019 | * @param integer $borderWidth The border width. |
||
1020 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1021 | */ |
||
1022 | public function setBorderWidth($borderWidth) { |
||
1026 | |||
1027 | /** |
||
1028 | * Set the center. |
||
1029 | * |
||
1030 | * @param array $center The center. |
||
1031 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1032 | */ |
||
1033 | public function setCenter(array $center = null) { |
||
1037 | |||
1038 | /** |
||
1039 | * Set the class name. |
||
1040 | * |
||
1041 | * @param string $className The class name. |
||
1042 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1043 | */ |
||
1044 | public function setClassName($className) { |
||
1048 | |||
1049 | /** |
||
1050 | * Set the color index. |
||
1051 | * |
||
1052 | * @param integer $colorIndex The color index. |
||
1053 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1054 | */ |
||
1055 | public function setColorIndex($colorIndex) { |
||
1059 | |||
1060 | /** |
||
1061 | * Set the colors. |
||
1062 | * |
||
1063 | * @param array $colors The colors. |
||
1064 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1065 | */ |
||
1066 | public function setColors(array $colors = null) { |
||
1070 | |||
1071 | /** |
||
1072 | * Set the cursor. |
||
1073 | * |
||
1074 | * @param string $cursor The cursor. |
||
1075 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1076 | */ |
||
1077 | public function setCursor($cursor) { |
||
1090 | |||
1091 | /** |
||
1092 | * Set the data. |
||
1093 | * |
||
1094 | * @param array $data The data. |
||
1095 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1096 | */ |
||
1097 | public function setData(array $data = null) { |
||
1101 | |||
1102 | /** |
||
1103 | * Set the data labels. |
||
1104 | * |
||
1105 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Funnel\HighchartsDataLabels $dataLabels The data labels. |
||
1106 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1107 | */ |
||
1108 | public function setDataLabels(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Funnel\HighchartsDataLabels $dataLabels = null) { |
||
1112 | |||
1113 | /** |
||
1114 | * Set the depth. |
||
1115 | * |
||
1116 | * @param integer $depth The depth. |
||
1117 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1118 | */ |
||
1119 | public function setDepth($depth) { |
||
1123 | |||
1124 | /** |
||
1125 | * Set the description. |
||
1126 | * |
||
1127 | * @param string $description The description. |
||
1128 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1129 | */ |
||
1130 | public function setDescription($description) { |
||
1134 | |||
1135 | /** |
||
1136 | * Set the enable mouse tracking. |
||
1137 | * |
||
1138 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
1139 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1140 | */ |
||
1141 | public function setEnableMouseTracking($enableMouseTracking) { |
||
1145 | |||
1146 | /** |
||
1147 | * Set the events. |
||
1148 | * |
||
1149 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Funnel\HighchartsEvents $events The events. |
||
1150 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1151 | */ |
||
1152 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Funnel\HighchartsEvents $events = null) { |
||
1156 | |||
1157 | /** |
||
1158 | * Set the expose element to a11y. |
||
1159 | * |
||
1160 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
1161 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1162 | */ |
||
1163 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
1167 | |||
1168 | /** |
||
1169 | * Set the find nearest point by. |
||
1170 | * |
||
1171 | * @param string $findNearestPointBy The find nearest point by. |
||
1172 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1173 | */ |
||
1174 | public function setFindNearestPointBy($findNearestPointBy) { |
||
1183 | |||
1184 | /** |
||
1185 | * Set the get extremes from all. |
||
1186 | * |
||
1187 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
1188 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1189 | */ |
||
1190 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
1194 | |||
1195 | /** |
||
1196 | * Set the height. |
||
1197 | * |
||
1198 | * @param integer|string $height The height. |
||
1199 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1200 | */ |
||
1201 | public function setHeight($height) { |
||
1205 | |||
1206 | /** |
||
1207 | * Set the id. |
||
1208 | * |
||
1209 | * @param string $id The id. |
||
1210 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1211 | */ |
||
1212 | public function setId($id) { |
||
1216 | |||
1217 | /** |
||
1218 | * Set the index. |
||
1219 | * |
||
1220 | * @param integer $index The index. |
||
1221 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1222 | */ |
||
1223 | public function setIndex($index) { |
||
1227 | |||
1228 | /** |
||
1229 | * Set the keys. |
||
1230 | * |
||
1231 | * @param array $keys The keys. |
||
1232 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1233 | */ |
||
1234 | public function setKeys(array $keys = null) { |
||
1238 | |||
1239 | /** |
||
1240 | * Set the legend index. |
||
1241 | * |
||
1242 | * @param integer $legendIndex The legend index. |
||
1243 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1244 | */ |
||
1245 | public function setLegendIndex($legendIndex) { |
||
1249 | |||
1250 | /** |
||
1251 | * Set the linked to. |
||
1252 | * |
||
1253 | * @param string $linkedTo The linked to. |
||
1254 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1255 | */ |
||
1256 | public function setLinkedTo($linkedTo) { |
||
1260 | |||
1261 | /** |
||
1262 | * Set the min size. |
||
1263 | * |
||
1264 | * @param integer $minSize The min size. |
||
1265 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1266 | */ |
||
1267 | public function setMinSize($minSize) { |
||
1271 | |||
1272 | /** |
||
1273 | * Set the name. |
||
1274 | * |
||
1275 | * @param string $name The name. |
||
1276 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1277 | */ |
||
1278 | public function setName($name) { |
||
1282 | |||
1283 | /** |
||
1284 | * Set the neck height. |
||
1285 | * |
||
1286 | * @param integer|string $neckHeight The neck height. |
||
1287 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1288 | */ |
||
1289 | public function setNeckHeight($neckHeight) { |
||
1293 | |||
1294 | /** |
||
1295 | * Set the neck width. |
||
1296 | * |
||
1297 | * @param integer|string $neckWidth The neck width. |
||
1298 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1299 | */ |
||
1300 | public function setNeckWidth($neckWidth) { |
||
1304 | |||
1305 | /** |
||
1306 | * Set the point. |
||
1307 | * |
||
1308 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Funnel\HighchartsPoint $point The point. |
||
1309 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1310 | */ |
||
1311 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Funnel\HighchartsPoint $point = null) { |
||
1315 | |||
1316 | /** |
||
1317 | * Set the point description formatter. |
||
1318 | * |
||
1319 | * @param string $pointDescriptionFormatter The point description formatter. |
||
1320 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1321 | */ |
||
1322 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
1326 | |||
1327 | /** |
||
1328 | * Set the reversed. |
||
1329 | * |
||
1330 | * @param boolean $reversed The reversed. |
||
1331 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1332 | */ |
||
1333 | public function setReversed($reversed) { |
||
1337 | |||
1338 | /** |
||
1339 | * Set the selected. |
||
1340 | * |
||
1341 | * @param boolean $selected The selected. |
||
1342 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1343 | */ |
||
1344 | public function setSelected($selected) { |
||
1348 | |||
1349 | /** |
||
1350 | * Set the shadow. |
||
1351 | * |
||
1352 | * @param boolean|array $shadow The shadow. |
||
1353 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1354 | */ |
||
1355 | public function setShadow($shadow) { |
||
1359 | |||
1360 | /** |
||
1361 | * Set the show in legend. |
||
1362 | * |
||
1363 | * @param boolean $showInLegend The show in legend. |
||
1364 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1365 | */ |
||
1366 | public function setShowInLegend($showInLegend) { |
||
1370 | |||
1371 | /** |
||
1372 | * Set the skip keyboard navigation. |
||
1373 | * |
||
1374 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
1375 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1376 | */ |
||
1377 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
1381 | |||
1382 | /** |
||
1383 | * Set the sliced offset. |
||
1384 | * |
||
1385 | * @param integer $slicedOffset The sliced offset. |
||
1386 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1387 | */ |
||
1388 | public function setSlicedOffset($slicedOffset) { |
||
1392 | |||
1393 | /** |
||
1394 | * Set the states. |
||
1395 | * |
||
1396 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Funnel\HighchartsStates $states The states. |
||
1397 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1398 | */ |
||
1399 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Funnel\HighchartsStates $states = null) { |
||
1403 | |||
1404 | /** |
||
1405 | * Set the sticky tracking. |
||
1406 | * |
||
1407 | * @param boolean $stickyTracking The sticky tracking. |
||
1408 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1409 | */ |
||
1410 | public function setStickyTracking($stickyTracking) { |
||
1414 | |||
1415 | /** |
||
1416 | * Set the tooltip. |
||
1417 | * |
||
1418 | * @param array $tooltip The tooltip. |
||
1419 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1420 | */ |
||
1421 | public function setTooltip(array $tooltip = null) { |
||
1425 | |||
1426 | /** |
||
1427 | * Set the type. |
||
1428 | * |
||
1429 | * @param string $type The type. |
||
1430 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1431 | */ |
||
1432 | public function setType($type) { |
||
1456 | |||
1457 | /** |
||
1458 | * Set the visible. |
||
1459 | * |
||
1460 | * @param boolean $visible The visible. |
||
1461 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1462 | */ |
||
1463 | public function setVisible($visible) { |
||
1467 | |||
1468 | /** |
||
1469 | * Set the width. |
||
1470 | * |
||
1471 | * @param integer|string $width The width. |
||
1472 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1473 | */ |
||
1474 | public function setWidth($width) { |
||
1478 | |||
1479 | /** |
||
1480 | * Set the z index. |
||
1481 | * |
||
1482 | * @param integer $zIndex The z index. |
||
1483 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1484 | */ |
||
1485 | public function setZIndex($zIndex) { |
||
1489 | |||
1490 | /** |
||
1491 | * Set the zone axis. |
||
1492 | * |
||
1493 | * @param string $zoneAxis The zone axis. |
||
1494 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1495 | */ |
||
1496 | public function setZoneAxis($zoneAxis) { |
||
1500 | |||
1501 | /** |
||
1502 | * Set the zones. |
||
1503 | * |
||
1504 | * @param array $zones The zones. |
||
1505 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsFunnel Returns the highcharts funnel. |
||
1506 | */ |
||
1507 | public function setZones(array $zones = null) { |
||
1511 | |||
1512 | /** |
||
1513 | * Convert into an array representing this instance. |
||
1514 | * |
||
1515 | * @return array Returns an array representing this instance. |
||
1516 | */ |
||
1517 | public function toArray() { |
||
1668 | |||
1669 | } |
||
1670 |
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..