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 labels. |
||
| 97 | * |
||
| 98 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Funnel\HighchartsDataLabels |
||
| 99 | */ |
||
| 100 | private $dataLabels; |
||
| 101 | |||
| 102 | /** |
||
| 103 | * Depth. |
||
| 104 | * |
||
| 105 | * @var integer |
||
| 106 | * @since 4.0 |
||
| 107 | */ |
||
| 108 | private $depth = 0; |
||
| 109 | |||
| 110 | /** |
||
| 111 | * Description. |
||
| 112 | * |
||
| 113 | * @var string |
||
| 114 | * @since 5.0.0 |
||
| 115 | */ |
||
| 116 | private $description; |
||
| 117 | |||
| 118 | /** |
||
| 119 | * Enable mouse tracking. |
||
| 120 | * |
||
| 121 | * @var boolean |
||
| 122 | */ |
||
| 123 | private $enableMouseTracking = true; |
||
| 124 | |||
| 125 | /** |
||
| 126 | * Events. |
||
| 127 | * |
||
| 128 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Funnel\HighchartsEvents |
||
| 129 | */ |
||
| 130 | private $events; |
||
| 131 | |||
| 132 | /** |
||
| 133 | * Expose element to a11y. |
||
| 134 | * |
||
| 135 | * @var boolean |
||
| 136 | * @since 5.0.12 |
||
| 137 | */ |
||
| 138 | private $exposeElementToA11y; |
||
| 139 | |||
| 140 | /** |
||
| 141 | * Find nearest point by. |
||
| 142 | * |
||
| 143 | * @var string |
||
| 144 | * @since 5.0.10 |
||
| 145 | */ |
||
| 146 | private $findNearestPointBy; |
||
| 147 | |||
| 148 | /** |
||
| 149 | * Get extremes from all. |
||
| 150 | * |
||
| 151 | * @var boolean |
||
| 152 | * @since 4.1.6 |
||
| 153 | */ |
||
| 154 | private $getExtremesFromAll = false; |
||
| 155 | |||
| 156 | /** |
||
| 157 | * Height. |
||
| 158 | * |
||
| 159 | * @var integer|string |
||
| 160 | * @since 3.0 |
||
| 161 | */ |
||
| 162 | private $height; |
||
| 163 | |||
| 164 | /** |
||
| 165 | * Keys. |
||
| 166 | * |
||
| 167 | * @var array |
||
| 168 | * @since 4.1.6 |
||
| 169 | */ |
||
| 170 | private $keys; |
||
| 171 | |||
| 172 | /** |
||
| 173 | * Linked to. |
||
| 174 | * |
||
| 175 | * @var string |
||
| 176 | * @since 3.0 |
||
| 177 | */ |
||
| 178 | private $linkedTo; |
||
| 179 | |||
| 180 | /** |
||
| 181 | * Min size. |
||
| 182 | * |
||
| 183 | * @var integer |
||
| 184 | * @since 3.0 |
||
| 185 | */ |
||
| 186 | private $minSize = 80; |
||
| 187 | |||
| 188 | /** |
||
| 189 | * Neck height. |
||
| 190 | * |
||
| 191 | * @var integer|string |
||
| 192 | */ |
||
| 193 | private $neckHeight = "25%"; |
||
| 194 | |||
| 195 | /** |
||
| 196 | * Neck width. |
||
| 197 | * |
||
| 198 | * @var integer|string |
||
| 199 | * @since 3.0 |
||
| 200 | */ |
||
| 201 | private $neckWidth = "30%"; |
||
| 202 | |||
| 203 | /** |
||
| 204 | * Point. |
||
| 205 | * |
||
| 206 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Funnel\HighchartsPoint |
||
| 207 | */ |
||
| 208 | private $point; |
||
| 209 | |||
| 210 | /** |
||
| 211 | * Point description formatter. |
||
| 212 | * |
||
| 213 | * @var string |
||
| 214 | * @since 5.0.12 |
||
| 215 | */ |
||
| 216 | private $pointDescriptionFormatter; |
||
| 217 | |||
| 218 | /** |
||
| 219 | * Reversed. |
||
| 220 | * |
||
| 221 | * @var boolean |
||
| 222 | * @since 3.0.10 |
||
| 223 | */ |
||
| 224 | private $reversed = false; |
||
| 225 | |||
| 226 | /** |
||
| 227 | * Selected. |
||
| 228 | * |
||
| 229 | * @var boolean |
||
| 230 | * @since 1.2.0 |
||
| 231 | */ |
||
| 232 | private $selected = false; |
||
| 233 | |||
| 234 | /** |
||
| 235 | * Shadow. |
||
| 236 | * |
||
| 237 | * @var boolean|array |
||
| 238 | */ |
||
| 239 | private $shadow = false; |
||
| 240 | |||
| 241 | /** |
||
| 242 | * Show in legend. |
||
| 243 | * |
||
| 244 | * @var boolean |
||
| 245 | */ |
||
| 246 | private $showInLegend = false; |
||
| 247 | |||
| 248 | /** |
||
| 249 | * Skip keyboard navigation. |
||
| 250 | * |
||
| 251 | * @var boolean |
||
| 252 | * @since 5.0.12 |
||
| 253 | */ |
||
| 254 | private $skipKeyboardNavigation; |
||
| 255 | |||
| 256 | /** |
||
| 257 | * Sliced offset. |
||
| 258 | * |
||
| 259 | * @var integer |
||
| 260 | */ |
||
| 261 | private $slicedOffset = 10; |
||
| 262 | |||
| 263 | /** |
||
| 264 | * States. |
||
| 265 | * |
||
| 266 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Funnel\HighchartsStates |
||
| 267 | */ |
||
| 268 | private $states; |
||
| 269 | |||
| 270 | /** |
||
| 271 | * Sticky tracking. |
||
| 272 | * |
||
| 273 | * @var boolean |
||
| 274 | */ |
||
| 275 | private $stickyTracking = false; |
||
| 276 | |||
| 277 | /** |
||
| 278 | * Tooltip. |
||
| 279 | * |
||
| 280 | * @var array |
||
| 281 | * @since 2.3 |
||
| 282 | */ |
||
| 283 | private $tooltip; |
||
| 284 | |||
| 285 | /** |
||
| 286 | * Visible. |
||
| 287 | * |
||
| 288 | * @var boolean |
||
| 289 | */ |
||
| 290 | private $visible = true; |
||
| 291 | |||
| 292 | /** |
||
| 293 | * Width. |
||
| 294 | * |
||
| 295 | * @var integer|string |
||
| 296 | * @since 3.0 |
||
| 297 | */ |
||
| 298 | private $width = "90%"; |
||
| 299 | |||
| 300 | /** |
||
| 301 | * Zone axis. |
||
| 302 | * |
||
| 303 | * @var string |
||
| 304 | * @since 4.1.0 |
||
| 305 | */ |
||
| 306 | private $zoneAxis = "y"; |
||
| 307 | |||
| 308 | /** |
||
| 309 | * Zones. |
||
| 310 | * |
||
| 311 | * @var array |
||
| 312 | * @since 4.1.0 |
||
| 313 | */ |
||
| 314 | private $zones; |
||
| 315 | |||
| 316 | /** |
||
| 317 | * Constructor. |
||
| 318 | * |
||
| 319 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
| 320 | */ |
||
| 321 | public function __construct($ignoreDefaultValues = true) { |
||
| 326 | |||
| 327 | /** |
||
| 328 | * Clear. |
||
| 329 | * |
||
| 330 | * @return void |
||
| 331 | */ |
||
| 332 | public function clear() { |
||
| 456 | |||
| 457 | /** |
||
| 458 | * Get the allow point select. |
||
| 459 | * |
||
| 460 | * @return boolean Returns the allow point select. |
||
| 461 | */ |
||
| 462 | public function getAllowPointSelect() { |
||
| 465 | |||
| 466 | /** |
||
| 467 | * Get the animation limit. |
||
| 468 | * |
||
| 469 | * @return integer Returns the animation limit. |
||
| 470 | */ |
||
| 471 | public function getAnimationLimit() { |
||
| 474 | |||
| 475 | /** |
||
| 476 | * Get the border color. |
||
| 477 | * |
||
| 478 | * @return string Returns the border color. |
||
| 479 | */ |
||
| 480 | public function getBorderColor() { |
||
| 483 | |||
| 484 | /** |
||
| 485 | * Get the border width. |
||
| 486 | * |
||
| 487 | * @return integer Returns the border width. |
||
| 488 | */ |
||
| 489 | public function getBorderWidth() { |
||
| 492 | |||
| 493 | /** |
||
| 494 | * Get the center. |
||
| 495 | * |
||
| 496 | * @return array Returns the center. |
||
| 497 | */ |
||
| 498 | public function getCenter() { |
||
| 501 | |||
| 502 | /** |
||
| 503 | * Get the class name. |
||
| 504 | * |
||
| 505 | * @return string Returns the class name. |
||
| 506 | */ |
||
| 507 | public function getClassName() { |
||
| 510 | |||
| 511 | /** |
||
| 512 | * Get the color index. |
||
| 513 | * |
||
| 514 | * @return integer Returns the color index. |
||
| 515 | */ |
||
| 516 | public function getColorIndex() { |
||
| 519 | |||
| 520 | /** |
||
| 521 | * Get the colors. |
||
| 522 | * |
||
| 523 | * @return array Returns the colors. |
||
| 524 | */ |
||
| 525 | public function getColors() { |
||
| 528 | |||
| 529 | /** |
||
| 530 | * Get the cursor. |
||
| 531 | * |
||
| 532 | * @return string Returns the cursor. |
||
| 533 | */ |
||
| 534 | public function getCursor() { |
||
| 537 | |||
| 538 | /** |
||
| 539 | * Get the data labels. |
||
| 540 | * |
||
| 541 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Funnel\HighchartsDataLabels Returns the data labels. |
||
| 542 | */ |
||
| 543 | public function getDataLabels() { |
||
| 546 | |||
| 547 | /** |
||
| 548 | * Get the depth. |
||
| 549 | * |
||
| 550 | * @return integer Returns the depth. |
||
| 551 | */ |
||
| 552 | public function getDepth() { |
||
| 555 | |||
| 556 | /** |
||
| 557 | * Get the description. |
||
| 558 | * |
||
| 559 | * @return string Returns the description. |
||
| 560 | */ |
||
| 561 | public function getDescription() { |
||
| 564 | |||
| 565 | /** |
||
| 566 | * Get the enable mouse tracking. |
||
| 567 | * |
||
| 568 | * @return boolean Returns the enable mouse tracking. |
||
| 569 | */ |
||
| 570 | public function getEnableMouseTracking() { |
||
| 573 | |||
| 574 | /** |
||
| 575 | * Get the events. |
||
| 576 | * |
||
| 577 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Funnel\HighchartsEvents Returns the events. |
||
| 578 | */ |
||
| 579 | public function getEvents() { |
||
| 582 | |||
| 583 | /** |
||
| 584 | * Get the expose element to a11y. |
||
| 585 | * |
||
| 586 | * @return boolean Returns the expose element to a11y. |
||
| 587 | */ |
||
| 588 | public function getExposeElementToA11y() { |
||
| 591 | |||
| 592 | /** |
||
| 593 | * Get the find nearest point by. |
||
| 594 | * |
||
| 595 | * @return string Returns the find nearest point by. |
||
| 596 | */ |
||
| 597 | public function getFindNearestPointBy() { |
||
| 600 | |||
| 601 | /** |
||
| 602 | * Get the get extremes from all. |
||
| 603 | * |
||
| 604 | * @return boolean Returns the get extremes from all. |
||
| 605 | */ |
||
| 606 | public function getGetExtremesFromAll() { |
||
| 609 | |||
| 610 | /** |
||
| 611 | * Get the height. |
||
| 612 | * |
||
| 613 | * @return integer|string Returns the height. |
||
| 614 | */ |
||
| 615 | public function getHeight() { |
||
| 618 | |||
| 619 | /** |
||
| 620 | * Get the keys. |
||
| 621 | * |
||
| 622 | * @return array Returns the keys. |
||
| 623 | */ |
||
| 624 | public function getKeys() { |
||
| 627 | |||
| 628 | /** |
||
| 629 | * Get the linked to. |
||
| 630 | * |
||
| 631 | * @return string Returns the linked to. |
||
| 632 | */ |
||
| 633 | public function getLinkedTo() { |
||
| 636 | |||
| 637 | /** |
||
| 638 | * Get the min size. |
||
| 639 | * |
||
| 640 | * @return integer Returns the min size. |
||
| 641 | */ |
||
| 642 | public function getMinSize() { |
||
| 645 | |||
| 646 | /** |
||
| 647 | * Get the neck height. |
||
| 648 | * |
||
| 649 | * @return integer|string Returns the neck height. |
||
| 650 | */ |
||
| 651 | public function getNeckHeight() { |
||
| 654 | |||
| 655 | /** |
||
| 656 | * Get the neck width. |
||
| 657 | * |
||
| 658 | * @return integer|string Returns the neck width. |
||
| 659 | */ |
||
| 660 | public function getNeckWidth() { |
||
| 663 | |||
| 664 | /** |
||
| 665 | * Get the point. |
||
| 666 | * |
||
| 667 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Funnel\HighchartsPoint Returns the point. |
||
| 668 | */ |
||
| 669 | public function getPoint() { |
||
| 672 | |||
| 673 | /** |
||
| 674 | * Get the point description formatter. |
||
| 675 | * |
||
| 676 | * @return string Returns the point description formatter. |
||
| 677 | */ |
||
| 678 | public function getPointDescriptionFormatter() { |
||
| 681 | |||
| 682 | /** |
||
| 683 | * Get the reversed. |
||
| 684 | * |
||
| 685 | * @return boolean Returns the reversed. |
||
| 686 | */ |
||
| 687 | public function getReversed() { |
||
| 690 | |||
| 691 | /** |
||
| 692 | * Get the selected. |
||
| 693 | * |
||
| 694 | * @return boolean Returns the selected. |
||
| 695 | */ |
||
| 696 | public function getSelected() { |
||
| 699 | |||
| 700 | /** |
||
| 701 | * Get the shadow. |
||
| 702 | * |
||
| 703 | * @return boolean|array Returns the shadow. |
||
| 704 | */ |
||
| 705 | public function getShadow() { |
||
| 708 | |||
| 709 | /** |
||
| 710 | * Get the show in legend. |
||
| 711 | * |
||
| 712 | * @return boolean Returns the show in legend. |
||
| 713 | */ |
||
| 714 | public function getShowInLegend() { |
||
| 717 | |||
| 718 | /** |
||
| 719 | * Get the skip keyboard navigation. |
||
| 720 | * |
||
| 721 | * @return boolean Returns the skip keyboard navigation. |
||
| 722 | */ |
||
| 723 | public function getSkipKeyboardNavigation() { |
||
| 726 | |||
| 727 | /** |
||
| 728 | * Get the sliced offset. |
||
| 729 | * |
||
| 730 | * @return integer Returns the sliced offset. |
||
| 731 | */ |
||
| 732 | public function getSlicedOffset() { |
||
| 735 | |||
| 736 | /** |
||
| 737 | * Get the states. |
||
| 738 | * |
||
| 739 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Funnel\HighchartsStates Returns the states. |
||
| 740 | */ |
||
| 741 | public function getStates() { |
||
| 744 | |||
| 745 | /** |
||
| 746 | * Get the sticky tracking. |
||
| 747 | * |
||
| 748 | * @return boolean Returns the sticky tracking. |
||
| 749 | */ |
||
| 750 | public function getStickyTracking() { |
||
| 753 | |||
| 754 | /** |
||
| 755 | * Get the tooltip. |
||
| 756 | * |
||
| 757 | * @return array Returns the tooltip. |
||
| 758 | */ |
||
| 759 | public function getTooltip() { |
||
| 762 | |||
| 763 | /** |
||
| 764 | * Get the visible. |
||
| 765 | * |
||
| 766 | * @return boolean Returns the visible. |
||
| 767 | */ |
||
| 768 | public function getVisible() { |
||
| 771 | |||
| 772 | /** |
||
| 773 | * Get the width. |
||
| 774 | * |
||
| 775 | * @return integer|string Returns the width. |
||
| 776 | */ |
||
| 777 | public function getWidth() { |
||
| 780 | |||
| 781 | /** |
||
| 782 | * Get the zone axis. |
||
| 783 | * |
||
| 784 | * @return string Returns the zone axis. |
||
| 785 | */ |
||
| 786 | public function getZoneAxis() { |
||
| 789 | |||
| 790 | /** |
||
| 791 | * Get the zones. |
||
| 792 | * |
||
| 793 | * @return array Returns the zones. |
||
| 794 | */ |
||
| 795 | public function getZones() { |
||
| 798 | |||
| 799 | /** |
||
| 800 | * Serialize this instance. |
||
| 801 | * |
||
| 802 | * @return array Returns an array representing this instance. |
||
| 803 | */ |
||
| 804 | public function jsonSerialize() { |
||
| 807 | |||
| 808 | /** |
||
| 809 | * Create a new data labels. |
||
| 810 | * |
||
| 811 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Funnel\HighchartsDataLabels Returns the data labels. |
||
| 812 | */ |
||
| 813 | public function newDataLabels() { |
||
| 817 | |||
| 818 | /** |
||
| 819 | * Create a new events. |
||
| 820 | * |
||
| 821 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Funnel\HighchartsEvents Returns the events. |
||
| 822 | */ |
||
| 823 | public function newEvents() { |
||
| 827 | |||
| 828 | /** |
||
| 829 | * Create a new point. |
||
| 830 | * |
||
| 831 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Funnel\HighchartsPoint Returns the point. |
||
| 832 | */ |
||
| 833 | public function newPoint() { |
||
| 837 | |||
| 838 | /** |
||
| 839 | * Create a new states. |
||
| 840 | * |
||
| 841 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Funnel\HighchartsStates Returns the states. |
||
| 842 | */ |
||
| 843 | public function newStates() { |
||
| 847 | |||
| 848 | /** |
||
| 849 | * Set the allow point select. |
||
| 850 | * |
||
| 851 | * @param boolean $allowPointSelect The allow point select. |
||
| 852 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 853 | */ |
||
| 854 | public function setAllowPointSelect($allowPointSelect) { |
||
| 858 | |||
| 859 | /** |
||
| 860 | * Set the animation limit. |
||
| 861 | * |
||
| 862 | * @param integer $animationLimit The animation limit. |
||
| 863 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 864 | */ |
||
| 865 | public function setAnimationLimit($animationLimit) { |
||
| 869 | |||
| 870 | /** |
||
| 871 | * Set the border color. |
||
| 872 | * |
||
| 873 | * @param string $borderColor The border color. |
||
| 874 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 875 | */ |
||
| 876 | public function setBorderColor($borderColor) { |
||
| 880 | |||
| 881 | /** |
||
| 882 | * Set the border width. |
||
| 883 | * |
||
| 884 | * @param integer $borderWidth The border width. |
||
| 885 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 886 | */ |
||
| 887 | public function setBorderWidth($borderWidth) { |
||
| 891 | |||
| 892 | /** |
||
| 893 | * Set the center. |
||
| 894 | * |
||
| 895 | * @param array $center The center. |
||
| 896 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 897 | */ |
||
| 898 | public function setCenter(array $center = null) { |
||
| 902 | |||
| 903 | /** |
||
| 904 | * Set the class name. |
||
| 905 | * |
||
| 906 | * @param string $className The class name. |
||
| 907 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 908 | */ |
||
| 909 | public function setClassName($className) { |
||
| 913 | |||
| 914 | /** |
||
| 915 | * Set the color index. |
||
| 916 | * |
||
| 917 | * @param integer $colorIndex The color index. |
||
| 918 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 919 | */ |
||
| 920 | public function setColorIndex($colorIndex) { |
||
| 924 | |||
| 925 | /** |
||
| 926 | * Set the colors. |
||
| 927 | * |
||
| 928 | * @param array $colors The colors. |
||
| 929 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 930 | */ |
||
| 931 | public function setColors(array $colors = null) { |
||
| 935 | |||
| 936 | /** |
||
| 937 | * Set the cursor. |
||
| 938 | * |
||
| 939 | * @param string $cursor The cursor. |
||
| 940 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 941 | */ |
||
| 942 | public function setCursor($cursor) { |
||
| 955 | |||
| 956 | /** |
||
| 957 | * Set the data labels. |
||
| 958 | * |
||
| 959 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Funnel\HighchartsDataLabels $dataLabels The data labels. |
||
| 960 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 961 | */ |
||
| 962 | public function setDataLabels(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Funnel\HighchartsDataLabels $dataLabels = null) { |
||
| 966 | |||
| 967 | /** |
||
| 968 | * Set the depth. |
||
| 969 | * |
||
| 970 | * @param integer $depth The depth. |
||
| 971 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 972 | */ |
||
| 973 | public function setDepth($depth) { |
||
| 977 | |||
| 978 | /** |
||
| 979 | * Set the description. |
||
| 980 | * |
||
| 981 | * @param string $description The description. |
||
| 982 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 983 | */ |
||
| 984 | public function setDescription($description) { |
||
| 988 | |||
| 989 | /** |
||
| 990 | * Set the enable mouse tracking. |
||
| 991 | * |
||
| 992 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
| 993 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 994 | */ |
||
| 995 | public function setEnableMouseTracking($enableMouseTracking) { |
||
| 999 | |||
| 1000 | /** |
||
| 1001 | * Set the events. |
||
| 1002 | * |
||
| 1003 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Funnel\HighchartsEvents $events The events. |
||
| 1004 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1005 | */ |
||
| 1006 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Funnel\HighchartsEvents $events = null) { |
||
| 1010 | |||
| 1011 | /** |
||
| 1012 | * Set the expose element to a11y. |
||
| 1013 | * |
||
| 1014 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
| 1015 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1016 | */ |
||
| 1017 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
| 1021 | |||
| 1022 | /** |
||
| 1023 | * Set the find nearest point by. |
||
| 1024 | * |
||
| 1025 | * @param string $findNearestPointBy The find nearest point by. |
||
| 1026 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1027 | */ |
||
| 1028 | public function setFindNearestPointBy($findNearestPointBy) { |
||
| 1037 | |||
| 1038 | /** |
||
| 1039 | * Set the get extremes from all. |
||
| 1040 | * |
||
| 1041 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
| 1042 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1043 | */ |
||
| 1044 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
| 1048 | |||
| 1049 | /** |
||
| 1050 | * Set the height. |
||
| 1051 | * |
||
| 1052 | * @param integer|string $height The height. |
||
| 1053 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1054 | */ |
||
| 1055 | public function setHeight($height) { |
||
| 1059 | |||
| 1060 | /** |
||
| 1061 | * Set the keys. |
||
| 1062 | * |
||
| 1063 | * @param array $keys The keys. |
||
| 1064 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1065 | */ |
||
| 1066 | public function setKeys(array $keys = null) { |
||
| 1070 | |||
| 1071 | /** |
||
| 1072 | * Set the linked to. |
||
| 1073 | * |
||
| 1074 | * @param string $linkedTo The linked to. |
||
| 1075 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1076 | */ |
||
| 1077 | public function setLinkedTo($linkedTo) { |
||
| 1081 | |||
| 1082 | /** |
||
| 1083 | * Set the min size. |
||
| 1084 | * |
||
| 1085 | * @param integer $minSize The min size. |
||
| 1086 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1087 | */ |
||
| 1088 | public function setMinSize($minSize) { |
||
| 1092 | |||
| 1093 | /** |
||
| 1094 | * Set the neck height. |
||
| 1095 | * |
||
| 1096 | * @param integer|string $neckHeight The neck height. |
||
| 1097 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1098 | */ |
||
| 1099 | public function setNeckHeight($neckHeight) { |
||
| 1103 | |||
| 1104 | /** |
||
| 1105 | * Set the neck width. |
||
| 1106 | * |
||
| 1107 | * @param integer|string $neckWidth The neck width. |
||
| 1108 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1109 | */ |
||
| 1110 | public function setNeckWidth($neckWidth) { |
||
| 1114 | |||
| 1115 | /** |
||
| 1116 | * Set the point. |
||
| 1117 | * |
||
| 1118 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Funnel\HighchartsPoint $point The point. |
||
| 1119 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1120 | */ |
||
| 1121 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Funnel\HighchartsPoint $point = null) { |
||
| 1125 | |||
| 1126 | /** |
||
| 1127 | * Set the point description formatter. |
||
| 1128 | * |
||
| 1129 | * @param string $pointDescriptionFormatter The point description formatter. |
||
| 1130 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1131 | */ |
||
| 1132 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
| 1136 | |||
| 1137 | /** |
||
| 1138 | * Set the reversed. |
||
| 1139 | * |
||
| 1140 | * @param boolean $reversed The reversed. |
||
| 1141 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1142 | */ |
||
| 1143 | public function setReversed($reversed) { |
||
| 1147 | |||
| 1148 | /** |
||
| 1149 | * Set the selected. |
||
| 1150 | * |
||
| 1151 | * @param boolean $selected The selected. |
||
| 1152 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1153 | */ |
||
| 1154 | public function setSelected($selected) { |
||
| 1158 | |||
| 1159 | /** |
||
| 1160 | * Set the shadow. |
||
| 1161 | * |
||
| 1162 | * @param boolean|array $shadow The shadow. |
||
| 1163 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1164 | */ |
||
| 1165 | public function setShadow($shadow) { |
||
| 1169 | |||
| 1170 | /** |
||
| 1171 | * Set the show in legend. |
||
| 1172 | * |
||
| 1173 | * @param boolean $showInLegend The show in legend. |
||
| 1174 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1175 | */ |
||
| 1176 | public function setShowInLegend($showInLegend) { |
||
| 1180 | |||
| 1181 | /** |
||
| 1182 | * Set the skip keyboard navigation. |
||
| 1183 | * |
||
| 1184 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
| 1185 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1186 | */ |
||
| 1187 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
| 1191 | |||
| 1192 | /** |
||
| 1193 | * Set the sliced offset. |
||
| 1194 | * |
||
| 1195 | * @param integer $slicedOffset The sliced offset. |
||
| 1196 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1197 | */ |
||
| 1198 | public function setSlicedOffset($slicedOffset) { |
||
| 1202 | |||
| 1203 | /** |
||
| 1204 | * Set the states. |
||
| 1205 | * |
||
| 1206 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Funnel\HighchartsStates $states The states. |
||
| 1207 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1208 | */ |
||
| 1209 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Funnel\HighchartsStates $states = null) { |
||
| 1213 | |||
| 1214 | /** |
||
| 1215 | * Set the sticky tracking. |
||
| 1216 | * |
||
| 1217 | * @param boolean $stickyTracking The sticky tracking. |
||
| 1218 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1219 | */ |
||
| 1220 | public function setStickyTracking($stickyTracking) { |
||
| 1224 | |||
| 1225 | /** |
||
| 1226 | * Set the tooltip. |
||
| 1227 | * |
||
| 1228 | * @param array $tooltip The tooltip. |
||
| 1229 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1230 | */ |
||
| 1231 | public function setTooltip(array $tooltip = null) { |
||
| 1235 | |||
| 1236 | /** |
||
| 1237 | * Set the visible. |
||
| 1238 | * |
||
| 1239 | * @param boolean $visible The visible. |
||
| 1240 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1241 | */ |
||
| 1242 | public function setVisible($visible) { |
||
| 1246 | |||
| 1247 | /** |
||
| 1248 | * Set the width. |
||
| 1249 | * |
||
| 1250 | * @param integer|string $width The width. |
||
| 1251 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1252 | */ |
||
| 1253 | public function setWidth($width) { |
||
| 1257 | |||
| 1258 | /** |
||
| 1259 | * Set the zone axis. |
||
| 1260 | * |
||
| 1261 | * @param string $zoneAxis The zone axis. |
||
| 1262 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1263 | */ |
||
| 1264 | public function setZoneAxis($zoneAxis) { |
||
| 1268 | |||
| 1269 | /** |
||
| 1270 | * Set the zones. |
||
| 1271 | * |
||
| 1272 | * @param array $zones The zones. |
||
| 1273 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsFunnel Returns the highcharts funnel. |
||
| 1274 | */ |
||
| 1275 | public function setZones(array $zones = null) { |
||
| 1279 | |||
| 1280 | /** |
||
| 1281 | * Convert into an array representing this instance. |
||
| 1282 | * |
||
| 1283 | * @return array Returns an array representing this instance. |
||
| 1284 | */ |
||
| 1285 | public function toArray() { |
||
| 1415 | |||
| 1416 | } |
||
| 1417 |
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..