Complex classes like HighchartsGauge 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 HighchartsGauge, and based on these observations, apply Extract Interface, too.
| 1 | <?php |
||
| 25 | final class HighchartsGauge implements JsonSerializable { |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Animation. |
||
| 29 | * |
||
| 30 | * @var boolean |
||
| 31 | */ |
||
| 32 | private $animation = true; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Animation limit. |
||
| 36 | * |
||
| 37 | * @var integer |
||
| 38 | */ |
||
| 39 | private $animationLimit; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Class name. |
||
| 43 | * |
||
| 44 | * @var string |
||
| 45 | * @since 5.0.0 |
||
| 46 | */ |
||
| 47 | private $className; |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Color. |
||
| 51 | * |
||
| 52 | * @var string |
||
| 53 | */ |
||
| 54 | private $color; |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Color index. |
||
| 58 | * |
||
| 59 | * @var integer |
||
| 60 | * @since 5.0.0 |
||
| 61 | */ |
||
| 62 | private $colorIndex; |
||
| 63 | |||
| 64 | /** |
||
| 65 | * Cursor. |
||
| 66 | * |
||
| 67 | * @var string |
||
| 68 | */ |
||
| 69 | private $cursor; |
||
| 70 | |||
| 71 | /** |
||
| 72 | * Data labels. |
||
| 73 | * |
||
| 74 | * @var array |
||
| 75 | * @since 2.3.0 |
||
| 76 | */ |
||
| 77 | private $dataLabels; |
||
| 78 | |||
| 79 | /** |
||
| 80 | * Description. |
||
| 81 | * |
||
| 82 | * @var string |
||
| 83 | * @since 5.0.0 |
||
| 84 | */ |
||
| 85 | private $description; |
||
| 86 | |||
| 87 | /** |
||
| 88 | * Dial. |
||
| 89 | * |
||
| 90 | * @var array |
||
| 91 | * @since 2.3.0 |
||
| 92 | */ |
||
| 93 | private $dial; |
||
| 94 | |||
| 95 | /** |
||
| 96 | * Enable mouse tracking. |
||
| 97 | * |
||
| 98 | * @var boolean |
||
| 99 | */ |
||
| 100 | private $enableMouseTracking = true; |
||
| 101 | |||
| 102 | /** |
||
| 103 | * Events. |
||
| 104 | * |
||
| 105 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Gauge\HighchartsEvents |
||
| 106 | */ |
||
| 107 | private $events; |
||
| 108 | |||
| 109 | /** |
||
| 110 | * Expose element to a11y. |
||
| 111 | * |
||
| 112 | * @var boolean |
||
| 113 | * @since 5.0.12 |
||
| 114 | */ |
||
| 115 | private $exposeElementToA11y; |
||
| 116 | |||
| 117 | /** |
||
| 118 | * Find nearest point by. |
||
| 119 | * |
||
| 120 | * @var string |
||
| 121 | * @since 5.0.10 |
||
| 122 | */ |
||
| 123 | private $findNearestPointBy; |
||
| 124 | |||
| 125 | /** |
||
| 126 | * Get extremes from all. |
||
| 127 | * |
||
| 128 | * @var boolean |
||
| 129 | * @since 4.1.6 |
||
| 130 | */ |
||
| 131 | private $getExtremesFromAll = false; |
||
| 132 | |||
| 133 | /** |
||
| 134 | * Keys. |
||
| 135 | * |
||
| 136 | * @var array |
||
| 137 | * @since 4.1.6 |
||
| 138 | */ |
||
| 139 | private $keys; |
||
| 140 | |||
| 141 | /** |
||
| 142 | * Linked to. |
||
| 143 | * |
||
| 144 | * @var string |
||
| 145 | * @since 3.0 |
||
| 146 | */ |
||
| 147 | private $linkedTo; |
||
| 148 | |||
| 149 | /** |
||
| 150 | * Negative color. |
||
| 151 | * |
||
| 152 | * @var string |
||
| 153 | * @since 3.0 |
||
| 154 | */ |
||
| 155 | private $negativeColor; |
||
| 156 | |||
| 157 | /** |
||
| 158 | * Overshoot. |
||
| 159 | * |
||
| 160 | * @var integer |
||
| 161 | * @since 3.0.10 |
||
| 162 | */ |
||
| 163 | private $overshoot = 0; |
||
| 164 | |||
| 165 | /** |
||
| 166 | * Pivot. |
||
| 167 | * |
||
| 168 | * @var array |
||
| 169 | * @since 2.3.0 |
||
| 170 | */ |
||
| 171 | private $pivot; |
||
| 172 | |||
| 173 | /** |
||
| 174 | * Point. |
||
| 175 | * |
||
| 176 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Gauge\HighchartsPoint |
||
| 177 | */ |
||
| 178 | private $point; |
||
| 179 | |||
| 180 | /** |
||
| 181 | * Point description formatter. |
||
| 182 | * |
||
| 183 | * @var string |
||
| 184 | * @since 5.0.12 |
||
| 185 | */ |
||
| 186 | private $pointDescriptionFormatter; |
||
| 187 | |||
| 188 | /** |
||
| 189 | * Selected. |
||
| 190 | * |
||
| 191 | * @var boolean |
||
| 192 | * @since 1.2.0 |
||
| 193 | */ |
||
| 194 | private $selected = false; |
||
| 195 | |||
| 196 | /** |
||
| 197 | * Show checkbox. |
||
| 198 | * |
||
| 199 | * @var boolean |
||
| 200 | * @since 1.2.0 |
||
| 201 | */ |
||
| 202 | private $showCheckbox = false; |
||
| 203 | |||
| 204 | /** |
||
| 205 | * Show in legend. |
||
| 206 | * |
||
| 207 | * @var boolean |
||
| 208 | * @since 2.3.0 |
||
| 209 | */ |
||
| 210 | private $showInLegend; |
||
| 211 | |||
| 212 | /** |
||
| 213 | * Skip keyboard navigation. |
||
| 214 | * |
||
| 215 | * @var boolean |
||
| 216 | * @since 5.0.12 |
||
| 217 | */ |
||
| 218 | private $skipKeyboardNavigation; |
||
| 219 | |||
| 220 | /** |
||
| 221 | * Sticky tracking. |
||
| 222 | * |
||
| 223 | * @var boolean |
||
| 224 | * @since 2.0 |
||
| 225 | */ |
||
| 226 | private $stickyTracking = true; |
||
| 227 | |||
| 228 | /** |
||
| 229 | * Threshold. |
||
| 230 | * |
||
| 231 | * @var integer |
||
| 232 | * @since 3.0 |
||
| 233 | */ |
||
| 234 | private $threshold = 0; |
||
| 235 | |||
| 236 | /** |
||
| 237 | * Tooltip. |
||
| 238 | * |
||
| 239 | * @var array |
||
| 240 | * @since 2.3 |
||
| 241 | */ |
||
| 242 | private $tooltip; |
||
| 243 | |||
| 244 | /** |
||
| 245 | * Visible. |
||
| 246 | * |
||
| 247 | * @var boolean |
||
| 248 | */ |
||
| 249 | private $visible = true; |
||
| 250 | |||
| 251 | /** |
||
| 252 | * Wrap. |
||
| 253 | * |
||
| 254 | * @var boolean |
||
| 255 | * @since 3.0 |
||
| 256 | */ |
||
| 257 | private $wrap = true; |
||
| 258 | |||
| 259 | /** |
||
| 260 | * Constructor. |
||
| 261 | * |
||
| 262 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
| 263 | */ |
||
| 264 | public function __construct($ignoreDefaultValues = true) { |
||
| 269 | |||
| 270 | /** |
||
| 271 | * Clear. |
||
| 272 | * |
||
| 273 | * @return void |
||
| 274 | */ |
||
| 275 | public function clear() { |
||
| 371 | |||
| 372 | /** |
||
| 373 | * Get the animation. |
||
| 374 | * |
||
| 375 | * @return boolean Returns the animation. |
||
| 376 | */ |
||
| 377 | public function getAnimation() { |
||
| 380 | |||
| 381 | /** |
||
| 382 | * Get the animation limit. |
||
| 383 | * |
||
| 384 | * @return integer Returns the animation limit. |
||
| 385 | */ |
||
| 386 | public function getAnimationLimit() { |
||
| 389 | |||
| 390 | /** |
||
| 391 | * Get the class name. |
||
| 392 | * |
||
| 393 | * @return string Returns the class name. |
||
| 394 | */ |
||
| 395 | public function getClassName() { |
||
| 398 | |||
| 399 | /** |
||
| 400 | * Get the color. |
||
| 401 | * |
||
| 402 | * @return string Returns the color. |
||
| 403 | */ |
||
| 404 | public function getColor() { |
||
| 407 | |||
| 408 | /** |
||
| 409 | * Get the color index. |
||
| 410 | * |
||
| 411 | * @return integer Returns the color index. |
||
| 412 | */ |
||
| 413 | public function getColorIndex() { |
||
| 416 | |||
| 417 | /** |
||
| 418 | * Get the cursor. |
||
| 419 | * |
||
| 420 | * @return string Returns the cursor. |
||
| 421 | */ |
||
| 422 | public function getCursor() { |
||
| 425 | |||
| 426 | /** |
||
| 427 | * Get the data labels. |
||
| 428 | * |
||
| 429 | * @return array Returns the data labels. |
||
| 430 | */ |
||
| 431 | public function getDataLabels() { |
||
| 434 | |||
| 435 | /** |
||
| 436 | * Get the description. |
||
| 437 | * |
||
| 438 | * @return string Returns the description. |
||
| 439 | */ |
||
| 440 | public function getDescription() { |
||
| 443 | |||
| 444 | /** |
||
| 445 | * Get the dial. |
||
| 446 | * |
||
| 447 | * @return array Returns the dial. |
||
| 448 | */ |
||
| 449 | public function getDial() { |
||
| 452 | |||
| 453 | /** |
||
| 454 | * Get the enable mouse tracking. |
||
| 455 | * |
||
| 456 | * @return boolean Returns the enable mouse tracking. |
||
| 457 | */ |
||
| 458 | public function getEnableMouseTracking() { |
||
| 461 | |||
| 462 | /** |
||
| 463 | * Get the events. |
||
| 464 | * |
||
| 465 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Gauge\HighchartsEvents Returns the events. |
||
| 466 | */ |
||
| 467 | public function getEvents() { |
||
| 470 | |||
| 471 | /** |
||
| 472 | * Get the expose element to a11y. |
||
| 473 | * |
||
| 474 | * @return boolean Returns the expose element to a11y. |
||
| 475 | */ |
||
| 476 | public function getExposeElementToA11y() { |
||
| 479 | |||
| 480 | /** |
||
| 481 | * Get the find nearest point by. |
||
| 482 | * |
||
| 483 | * @return string Returns the find nearest point by. |
||
| 484 | */ |
||
| 485 | public function getFindNearestPointBy() { |
||
| 488 | |||
| 489 | /** |
||
| 490 | * Get the get extremes from all. |
||
| 491 | * |
||
| 492 | * @return boolean Returns the get extremes from all. |
||
| 493 | */ |
||
| 494 | public function getGetExtremesFromAll() { |
||
| 497 | |||
| 498 | /** |
||
| 499 | * Get the keys. |
||
| 500 | * |
||
| 501 | * @return array Returns the keys. |
||
| 502 | */ |
||
| 503 | public function getKeys() { |
||
| 506 | |||
| 507 | /** |
||
| 508 | * Get the linked to. |
||
| 509 | * |
||
| 510 | * @return string Returns the linked to. |
||
| 511 | */ |
||
| 512 | public function getLinkedTo() { |
||
| 515 | |||
| 516 | /** |
||
| 517 | * Get the negative color. |
||
| 518 | * |
||
| 519 | * @return string Returns the negative color. |
||
| 520 | */ |
||
| 521 | public function getNegativeColor() { |
||
| 524 | |||
| 525 | /** |
||
| 526 | * Get the overshoot. |
||
| 527 | * |
||
| 528 | * @return integer Returns the overshoot. |
||
| 529 | */ |
||
| 530 | public function getOvershoot() { |
||
| 533 | |||
| 534 | /** |
||
| 535 | * Get the pivot. |
||
| 536 | * |
||
| 537 | * @return array Returns the pivot. |
||
| 538 | */ |
||
| 539 | public function getPivot() { |
||
| 542 | |||
| 543 | /** |
||
| 544 | * Get the point. |
||
| 545 | * |
||
| 546 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Gauge\HighchartsPoint Returns the point. |
||
| 547 | */ |
||
| 548 | public function getPoint() { |
||
| 551 | |||
| 552 | /** |
||
| 553 | * Get the point description formatter. |
||
| 554 | * |
||
| 555 | * @return string Returns the point description formatter. |
||
| 556 | */ |
||
| 557 | public function getPointDescriptionFormatter() { |
||
| 560 | |||
| 561 | /** |
||
| 562 | * Get the selected. |
||
| 563 | * |
||
| 564 | * @return boolean Returns the selected. |
||
| 565 | */ |
||
| 566 | public function getSelected() { |
||
| 569 | |||
| 570 | /** |
||
| 571 | * Get the show checkbox. |
||
| 572 | * |
||
| 573 | * @return boolean Returns the show checkbox. |
||
| 574 | */ |
||
| 575 | public function getShowCheckbox() { |
||
| 578 | |||
| 579 | /** |
||
| 580 | * Get the show in legend. |
||
| 581 | * |
||
| 582 | * @return boolean Returns the show in legend. |
||
| 583 | */ |
||
| 584 | public function getShowInLegend() { |
||
| 587 | |||
| 588 | /** |
||
| 589 | * Get the skip keyboard navigation. |
||
| 590 | * |
||
| 591 | * @return boolean Returns the skip keyboard navigation. |
||
| 592 | */ |
||
| 593 | public function getSkipKeyboardNavigation() { |
||
| 596 | |||
| 597 | /** |
||
| 598 | * Get the sticky tracking. |
||
| 599 | * |
||
| 600 | * @return boolean Returns the sticky tracking. |
||
| 601 | */ |
||
| 602 | public function getStickyTracking() { |
||
| 605 | |||
| 606 | /** |
||
| 607 | * Get the threshold. |
||
| 608 | * |
||
| 609 | * @return integer Returns the threshold. |
||
| 610 | */ |
||
| 611 | public function getThreshold() { |
||
| 614 | |||
| 615 | /** |
||
| 616 | * Get the tooltip. |
||
| 617 | * |
||
| 618 | * @return array Returns the tooltip. |
||
| 619 | */ |
||
| 620 | public function getTooltip() { |
||
| 623 | |||
| 624 | /** |
||
| 625 | * Get the visible. |
||
| 626 | * |
||
| 627 | * @return boolean Returns the visible. |
||
| 628 | */ |
||
| 629 | public function getVisible() { |
||
| 632 | |||
| 633 | /** |
||
| 634 | * Get the wrap. |
||
| 635 | * |
||
| 636 | * @return boolean Returns the wrap. |
||
| 637 | */ |
||
| 638 | public function getWrap() { |
||
| 641 | |||
| 642 | /** |
||
| 643 | * Serialize this instance. |
||
| 644 | * |
||
| 645 | * @return array Returns an array representing this instance. |
||
| 646 | */ |
||
| 647 | public function jsonSerialize() { |
||
| 650 | |||
| 651 | /** |
||
| 652 | * Create a new events. |
||
| 653 | * |
||
| 654 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Gauge\HighchartsEvents Returns the events. |
||
| 655 | */ |
||
| 656 | public function newEvents() { |
||
| 660 | |||
| 661 | /** |
||
| 662 | * Create a new point. |
||
| 663 | * |
||
| 664 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Gauge\HighchartsPoint Returns the point. |
||
| 665 | */ |
||
| 666 | public function newPoint() { |
||
| 670 | |||
| 671 | /** |
||
| 672 | * Set the animation. |
||
| 673 | * |
||
| 674 | * @param boolean $animation The animation. |
||
| 675 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 676 | */ |
||
| 677 | public function setAnimation($animation) { |
||
| 681 | |||
| 682 | /** |
||
| 683 | * Set the animation limit. |
||
| 684 | * |
||
| 685 | * @param integer $animationLimit The animation limit. |
||
| 686 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 687 | */ |
||
| 688 | public function setAnimationLimit($animationLimit) { |
||
| 692 | |||
| 693 | /** |
||
| 694 | * Set the class name. |
||
| 695 | * |
||
| 696 | * @param string $className The class name. |
||
| 697 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 698 | */ |
||
| 699 | public function setClassName($className) { |
||
| 703 | |||
| 704 | /** |
||
| 705 | * Set the color. |
||
| 706 | * |
||
| 707 | * @param string $color The color. |
||
| 708 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 709 | */ |
||
| 710 | public function setColor($color) { |
||
| 714 | |||
| 715 | /** |
||
| 716 | * Set the color index. |
||
| 717 | * |
||
| 718 | * @param integer $colorIndex The color index. |
||
| 719 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 720 | */ |
||
| 721 | public function setColorIndex($colorIndex) { |
||
| 725 | |||
| 726 | /** |
||
| 727 | * Set the cursor. |
||
| 728 | * |
||
| 729 | * @param string $cursor The cursor. |
||
| 730 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 731 | */ |
||
| 732 | public function setCursor($cursor) { |
||
| 745 | |||
| 746 | /** |
||
| 747 | * Set the data labels. |
||
| 748 | * |
||
| 749 | * @param array $dataLabels The data labels. |
||
| 750 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 751 | */ |
||
| 752 | public function setDataLabels(array $dataLabels = null) { |
||
| 756 | |||
| 757 | /** |
||
| 758 | * Set the description. |
||
| 759 | * |
||
| 760 | * @param string $description The description. |
||
| 761 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 762 | */ |
||
| 763 | public function setDescription($description) { |
||
| 767 | |||
| 768 | /** |
||
| 769 | * Set the dial. |
||
| 770 | * |
||
| 771 | * @param array $dial The dial. |
||
| 772 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 773 | */ |
||
| 774 | public function setDial(array $dial = null) { |
||
| 778 | |||
| 779 | /** |
||
| 780 | * Set the enable mouse tracking. |
||
| 781 | * |
||
| 782 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
| 783 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 784 | */ |
||
| 785 | public function setEnableMouseTracking($enableMouseTracking) { |
||
| 789 | |||
| 790 | /** |
||
| 791 | * Set the events. |
||
| 792 | * |
||
| 793 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Gauge\HighchartsEvents $events The events. |
||
| 794 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 795 | */ |
||
| 796 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Gauge\HighchartsEvents $events = null) { |
||
| 800 | |||
| 801 | /** |
||
| 802 | * Set the expose element to a11y. |
||
| 803 | * |
||
| 804 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
| 805 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 806 | */ |
||
| 807 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
| 811 | |||
| 812 | /** |
||
| 813 | * Set the find nearest point by. |
||
| 814 | * |
||
| 815 | * @param string $findNearestPointBy The find nearest point by. |
||
| 816 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 817 | */ |
||
| 818 | public function setFindNearestPointBy($findNearestPointBy) { |
||
| 827 | |||
| 828 | /** |
||
| 829 | * Set the get extremes from all. |
||
| 830 | * |
||
| 831 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
| 832 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 833 | */ |
||
| 834 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
| 838 | |||
| 839 | /** |
||
| 840 | * Set the keys. |
||
| 841 | * |
||
| 842 | * @param array $keys The keys. |
||
| 843 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 844 | */ |
||
| 845 | public function setKeys(array $keys = null) { |
||
| 849 | |||
| 850 | /** |
||
| 851 | * Set the linked to. |
||
| 852 | * |
||
| 853 | * @param string $linkedTo The linked to. |
||
| 854 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 855 | */ |
||
| 856 | public function setLinkedTo($linkedTo) { |
||
| 860 | |||
| 861 | /** |
||
| 862 | * Set the negative color. |
||
| 863 | * |
||
| 864 | * @param string $negativeColor The negative color. |
||
| 865 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 866 | */ |
||
| 867 | public function setNegativeColor($negativeColor) { |
||
| 871 | |||
| 872 | /** |
||
| 873 | * Set the overshoot. |
||
| 874 | * |
||
| 875 | * @param integer $overshoot The overshoot. |
||
| 876 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 877 | */ |
||
| 878 | public function setOvershoot($overshoot) { |
||
| 882 | |||
| 883 | /** |
||
| 884 | * Set the pivot. |
||
| 885 | * |
||
| 886 | * @param array $pivot The pivot. |
||
| 887 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 888 | */ |
||
| 889 | public function setPivot(array $pivot = null) { |
||
| 893 | |||
| 894 | /** |
||
| 895 | * Set the point. |
||
| 896 | * |
||
| 897 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Gauge\HighchartsPoint $point The point. |
||
| 898 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 899 | */ |
||
| 900 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Gauge\HighchartsPoint $point = null) { |
||
| 904 | |||
| 905 | /** |
||
| 906 | * Set the point description formatter. |
||
| 907 | * |
||
| 908 | * @param string $pointDescriptionFormatter The point description formatter. |
||
| 909 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 910 | */ |
||
| 911 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
| 915 | |||
| 916 | /** |
||
| 917 | * Set the selected. |
||
| 918 | * |
||
| 919 | * @param boolean $selected The selected. |
||
| 920 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 921 | */ |
||
| 922 | public function setSelected($selected) { |
||
| 926 | |||
| 927 | /** |
||
| 928 | * Set the show checkbox. |
||
| 929 | * |
||
| 930 | * @param boolean $showCheckbox The show checkbox. |
||
| 931 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 932 | */ |
||
| 933 | public function setShowCheckbox($showCheckbox) { |
||
| 937 | |||
| 938 | /** |
||
| 939 | * Set the show in legend. |
||
| 940 | * |
||
| 941 | * @param boolean $showInLegend The show in legend. |
||
| 942 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 943 | */ |
||
| 944 | public function setShowInLegend($showInLegend) { |
||
| 948 | |||
| 949 | /** |
||
| 950 | * Set the skip keyboard navigation. |
||
| 951 | * |
||
| 952 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
| 953 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 954 | */ |
||
| 955 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
| 959 | |||
| 960 | /** |
||
| 961 | * Set the sticky tracking. |
||
| 962 | * |
||
| 963 | * @param boolean $stickyTracking The sticky tracking. |
||
| 964 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 965 | */ |
||
| 966 | public function setStickyTracking($stickyTracking) { |
||
| 970 | |||
| 971 | /** |
||
| 972 | * Set the threshold. |
||
| 973 | * |
||
| 974 | * @param integer $threshold The threshold. |
||
| 975 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 976 | */ |
||
| 977 | public function setThreshold($threshold) { |
||
| 981 | |||
| 982 | /** |
||
| 983 | * Set the tooltip. |
||
| 984 | * |
||
| 985 | * @param array $tooltip The tooltip. |
||
| 986 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 987 | */ |
||
| 988 | public function setTooltip(array $tooltip = null) { |
||
| 992 | |||
| 993 | /** |
||
| 994 | * Set the visible. |
||
| 995 | * |
||
| 996 | * @param boolean $visible The visible. |
||
| 997 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 998 | */ |
||
| 999 | public function setVisible($visible) { |
||
| 1003 | |||
| 1004 | /** |
||
| 1005 | * Set the wrap. |
||
| 1006 | * |
||
| 1007 | * @param boolean $wrap The wrap. |
||
| 1008 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsGauge Returns the highcharts gauge. |
||
| 1009 | */ |
||
| 1010 | public function setWrap($wrap) { |
||
| 1014 | |||
| 1015 | /** |
||
| 1016 | * Convert into an array representing this instance. |
||
| 1017 | * |
||
| 1018 | * @return array Returns an array representing this instance. |
||
| 1019 | */ |
||
| 1020 | public function toArray() { |
||
| 1122 | |||
| 1123 | } |
||
| 1124 |
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..