Complex classes like HighchartsPlotOptions 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 HighchartsPlotOptions, and based on these observations, apply Extract Interface, too.
| 1 | <?php |
||
| 25 | final class HighchartsPlotOptions implements JsonSerializable { |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Area. |
||
| 29 | * |
||
| 30 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArea |
||
| 31 | */ |
||
| 32 | private $area; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Arearange. |
||
| 36 | * |
||
| 37 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange |
||
| 38 | * @since 2.3.0 |
||
| 39 | */ |
||
| 40 | private $arearange; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Areaspline. |
||
| 44 | * |
||
| 45 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline |
||
| 46 | */ |
||
| 47 | private $areaspline; |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Areasplinerange. |
||
| 51 | * |
||
| 52 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreasplinerange |
||
| 53 | * @since 2.3.0 |
||
| 54 | */ |
||
| 55 | private $areasplinerange; |
||
| 56 | |||
| 57 | /** |
||
| 58 | * Bar. |
||
| 59 | * |
||
| 60 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar |
||
| 61 | */ |
||
| 62 | private $bar; |
||
| 63 | |||
| 64 | /** |
||
| 65 | * Boxplot. |
||
| 66 | * |
||
| 67 | * @var array |
||
| 68 | * @since 3.0 |
||
| 69 | */ |
||
| 70 | private $boxplot; |
||
| 71 | |||
| 72 | /** |
||
| 73 | * Bubble. |
||
| 74 | * |
||
| 75 | * @var array |
||
| 76 | * @since 3.0 |
||
| 77 | */ |
||
| 78 | private $bubble; |
||
| 79 | |||
| 80 | /** |
||
| 81 | * Column. |
||
| 82 | * |
||
| 83 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumn |
||
| 84 | */ |
||
| 85 | private $column; |
||
| 86 | |||
| 87 | /** |
||
| 88 | * Columnrange. |
||
| 89 | * |
||
| 90 | * @var array |
||
| 91 | * @since 2.3.0 |
||
| 92 | */ |
||
| 93 | private $columnrange; |
||
| 94 | |||
| 95 | /** |
||
| 96 | * Errorbar. |
||
| 97 | * |
||
| 98 | * @var array |
||
| 99 | * @since 3.0 |
||
| 100 | */ |
||
| 101 | private $errorbar; |
||
| 102 | |||
| 103 | /** |
||
| 104 | * Funnel. |
||
| 105 | * |
||
| 106 | * @var array |
||
| 107 | * @since 3.0 |
||
| 108 | */ |
||
| 109 | private $funnel; |
||
| 110 | |||
| 111 | /** |
||
| 112 | * Gauge. |
||
| 113 | * |
||
| 114 | * @var array |
||
| 115 | * @since 2.3.0 |
||
| 116 | */ |
||
| 117 | private $gauge; |
||
| 118 | |||
| 119 | /** |
||
| 120 | * Heatmap. |
||
| 121 | * |
||
| 122 | * @var array |
||
| 123 | * @since 4.0 |
||
| 124 | */ |
||
| 125 | private $heatmap; |
||
| 126 | |||
| 127 | /** |
||
| 128 | * Line. |
||
| 129 | * |
||
| 130 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsLine |
||
| 131 | */ |
||
| 132 | private $line; |
||
| 133 | |||
| 134 | /** |
||
| 135 | * Pie. |
||
| 136 | * |
||
| 137 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPie |
||
| 138 | */ |
||
| 139 | private $pie; |
||
| 140 | |||
| 141 | /** |
||
| 142 | * Polygon. |
||
| 143 | * |
||
| 144 | * @var array |
||
| 145 | * @since 4.1.0 |
||
| 146 | */ |
||
| 147 | private $polygon; |
||
| 148 | |||
| 149 | /** |
||
| 150 | * Pyramid. |
||
| 151 | * |
||
| 152 | * @var array |
||
| 153 | * @since 3.0.10 |
||
| 154 | */ |
||
| 155 | private $pyramid; |
||
| 156 | |||
| 157 | /** |
||
| 158 | * Scatter. |
||
| 159 | * |
||
| 160 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter |
||
| 161 | */ |
||
| 162 | private $scatter; |
||
| 163 | |||
| 164 | /** |
||
| 165 | * Series. |
||
| 166 | * |
||
| 167 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSeries |
||
| 168 | */ |
||
| 169 | private $series; |
||
| 170 | |||
| 171 | /** |
||
| 172 | * Solidgauge. |
||
| 173 | * |
||
| 174 | * @var array |
||
| 175 | * @since 4.0 |
||
| 176 | */ |
||
| 177 | private $solidgauge; |
||
| 178 | |||
| 179 | /** |
||
| 180 | * Spline. |
||
| 181 | * |
||
| 182 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSpline |
||
| 183 | */ |
||
| 184 | private $spline; |
||
| 185 | |||
| 186 | /** |
||
| 187 | * Treemap. |
||
| 188 | * |
||
| 189 | * @var array |
||
| 190 | * @since 4.1.0 |
||
| 191 | */ |
||
| 192 | private $treemap; |
||
| 193 | |||
| 194 | /** |
||
| 195 | * Waterfall. |
||
| 196 | * |
||
| 197 | * @var array |
||
| 198 | * @since 3.0 |
||
| 199 | */ |
||
| 200 | private $waterfall; |
||
| 201 | |||
| 202 | /** |
||
| 203 | * Constructor. |
||
| 204 | * |
||
| 205 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
| 206 | */ |
||
| 207 | public function __construct($ignoreDefaultValues = true) { |
||
| 212 | |||
| 213 | /** |
||
| 214 | * Clear. |
||
| 215 | * |
||
| 216 | * @return void |
||
| 217 | */ |
||
| 218 | public function clear() { |
||
| 311 | |||
| 312 | /** |
||
| 313 | * Get the area. |
||
| 314 | * |
||
| 315 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArea Returns the area. |
||
| 316 | */ |
||
| 317 | public function getArea() { |
||
| 320 | |||
| 321 | /** |
||
| 322 | * Get the arearange. |
||
| 323 | * |
||
| 324 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the arearange. |
||
| 325 | */ |
||
| 326 | public function getArearange() { |
||
| 329 | |||
| 330 | /** |
||
| 331 | * Get the areaspline. |
||
| 332 | * |
||
| 333 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the areaspline. |
||
| 334 | */ |
||
| 335 | public function getAreaspline() { |
||
| 338 | |||
| 339 | /** |
||
| 340 | * Get the areasplinerange. |
||
| 341 | * |
||
| 342 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreasplinerange Returns the areasplinerange. |
||
| 343 | */ |
||
| 344 | public function getAreasplinerange() { |
||
| 347 | |||
| 348 | /** |
||
| 349 | * Get the bar. |
||
| 350 | * |
||
| 351 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the bar. |
||
| 352 | */ |
||
| 353 | public function getBar() { |
||
| 356 | |||
| 357 | /** |
||
| 358 | * Get the boxplot. |
||
| 359 | * |
||
| 360 | * @return array Returns the boxplot. |
||
| 361 | */ |
||
| 362 | public function getBoxplot() { |
||
| 365 | |||
| 366 | /** |
||
| 367 | * Get the bubble. |
||
| 368 | * |
||
| 369 | * @return array Returns the bubble. |
||
| 370 | */ |
||
| 371 | public function getBubble() { |
||
| 374 | |||
| 375 | /** |
||
| 376 | * Get the column. |
||
| 377 | * |
||
| 378 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumn Returns the column. |
||
| 379 | */ |
||
| 380 | public function getColumn() { |
||
| 383 | |||
| 384 | /** |
||
| 385 | * Get the columnrange. |
||
| 386 | * |
||
| 387 | * @return array Returns the columnrange. |
||
| 388 | */ |
||
| 389 | public function getColumnrange() { |
||
| 392 | |||
| 393 | /** |
||
| 394 | * Get the errorbar. |
||
| 395 | * |
||
| 396 | * @return array Returns the errorbar. |
||
| 397 | */ |
||
| 398 | public function getErrorbar() { |
||
| 401 | |||
| 402 | /** |
||
| 403 | * Get the funnel. |
||
| 404 | * |
||
| 405 | * @return array Returns the funnel. |
||
| 406 | */ |
||
| 407 | public function getFunnel() { |
||
| 410 | |||
| 411 | /** |
||
| 412 | * Get the gauge. |
||
| 413 | * |
||
| 414 | * @return array Returns the gauge. |
||
| 415 | */ |
||
| 416 | public function getGauge() { |
||
| 419 | |||
| 420 | /** |
||
| 421 | * Get the heatmap. |
||
| 422 | * |
||
| 423 | * @return array Returns the heatmap. |
||
| 424 | */ |
||
| 425 | public function getHeatmap() { |
||
| 428 | |||
| 429 | /** |
||
| 430 | * Get the line. |
||
| 431 | * |
||
| 432 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsLine Returns the line. |
||
| 433 | */ |
||
| 434 | public function getLine() { |
||
| 437 | |||
| 438 | /** |
||
| 439 | * Get the pie. |
||
| 440 | * |
||
| 441 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPie Returns the pie. |
||
| 442 | */ |
||
| 443 | public function getPie() { |
||
| 446 | |||
| 447 | /** |
||
| 448 | * Get the polygon. |
||
| 449 | * |
||
| 450 | * @return array Returns the polygon. |
||
| 451 | */ |
||
| 452 | public function getPolygon() { |
||
| 455 | |||
| 456 | /** |
||
| 457 | * Get the pyramid. |
||
| 458 | * |
||
| 459 | * @return array Returns the pyramid. |
||
| 460 | */ |
||
| 461 | public function getPyramid() { |
||
| 464 | |||
| 465 | /** |
||
| 466 | * Get the scatter. |
||
| 467 | * |
||
| 468 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the scatter. |
||
| 469 | */ |
||
| 470 | public function getScatter() { |
||
| 473 | |||
| 474 | /** |
||
| 475 | * Get the series. |
||
| 476 | * |
||
| 477 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSeries Returns the series. |
||
| 478 | */ |
||
| 479 | public function getSeries() { |
||
| 482 | |||
| 483 | /** |
||
| 484 | * Get the solidgauge. |
||
| 485 | * |
||
| 486 | * @return array Returns the solidgauge. |
||
| 487 | */ |
||
| 488 | public function getSolidgauge() { |
||
| 491 | |||
| 492 | /** |
||
| 493 | * Get the spline. |
||
| 494 | * |
||
| 495 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSpline Returns the spline. |
||
| 496 | */ |
||
| 497 | public function getSpline() { |
||
| 500 | |||
| 501 | /** |
||
| 502 | * Get the treemap. |
||
| 503 | * |
||
| 504 | * @return array Returns the treemap. |
||
| 505 | */ |
||
| 506 | public function getTreemap() { |
||
| 509 | |||
| 510 | /** |
||
| 511 | * Get the waterfall. |
||
| 512 | * |
||
| 513 | * @return array Returns the waterfall. |
||
| 514 | */ |
||
| 515 | public function getWaterfall() { |
||
| 518 | |||
| 519 | /** |
||
| 520 | * Serialize this instance. |
||
| 521 | * |
||
| 522 | * @return array Returns an array representing this instance. |
||
| 523 | */ |
||
| 524 | public function jsonSerialize() { |
||
| 527 | |||
| 528 | /** |
||
| 529 | * Create a new area. |
||
| 530 | * |
||
| 531 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArea Returns the area. |
||
| 532 | */ |
||
| 533 | public function newArea() { |
||
| 537 | |||
| 538 | /** |
||
| 539 | * Create a new arearange. |
||
| 540 | * |
||
| 541 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the arearange. |
||
| 542 | */ |
||
| 543 | public function newArearange() { |
||
| 547 | |||
| 548 | /** |
||
| 549 | * Create a new areaspline. |
||
| 550 | * |
||
| 551 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the areaspline. |
||
| 552 | */ |
||
| 553 | public function newAreaspline() { |
||
| 557 | |||
| 558 | /** |
||
| 559 | * Create a new areasplinerange. |
||
| 560 | * |
||
| 561 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreasplinerange Returns the areasplinerange. |
||
| 562 | */ |
||
| 563 | public function newAreasplinerange() { |
||
| 567 | |||
| 568 | /** |
||
| 569 | * Create a new bar. |
||
| 570 | * |
||
| 571 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar Returns the bar. |
||
| 572 | */ |
||
| 573 | public function newBar() { |
||
| 577 | |||
| 578 | /** |
||
| 579 | * Create a new column. |
||
| 580 | * |
||
| 581 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumn Returns the column. |
||
| 582 | */ |
||
| 583 | public function newColumn() { |
||
| 587 | |||
| 588 | /** |
||
| 589 | * Create a new line. |
||
| 590 | * |
||
| 591 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsLine Returns the line. |
||
| 592 | */ |
||
| 593 | public function newLine() { |
||
| 597 | |||
| 598 | /** |
||
| 599 | * Create a new pie. |
||
| 600 | * |
||
| 601 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPie Returns the pie. |
||
| 602 | */ |
||
| 603 | public function newPie() { |
||
| 607 | |||
| 608 | /** |
||
| 609 | * Create a new scatter. |
||
| 610 | * |
||
| 611 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the scatter. |
||
| 612 | */ |
||
| 613 | public function newScatter() { |
||
| 617 | |||
| 618 | /** |
||
| 619 | * Create a new series. |
||
| 620 | * |
||
| 621 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSeries Returns the series. |
||
| 622 | */ |
||
| 623 | public function newSeries() { |
||
| 627 | |||
| 628 | /** |
||
| 629 | * Create a new spline. |
||
| 630 | * |
||
| 631 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSpline Returns the spline. |
||
| 632 | */ |
||
| 633 | public function newSpline() { |
||
| 637 | |||
| 638 | /** |
||
| 639 | * Set the area. |
||
| 640 | * |
||
| 641 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArea $area The area. |
||
| 642 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 643 | */ |
||
| 644 | public function setArea(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArea $area = null) { |
||
| 648 | |||
| 649 | /** |
||
| 650 | * Set the arearange. |
||
| 651 | * |
||
| 652 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange $arearange The arearange. |
||
| 653 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 654 | */ |
||
| 655 | public function setArearange(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange $arearange = null) { |
||
| 659 | |||
| 660 | /** |
||
| 661 | * Set the areaspline. |
||
| 662 | * |
||
| 663 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline $areaspline The areaspline. |
||
| 664 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 665 | */ |
||
| 666 | public function setAreaspline(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline $areaspline = null) { |
||
| 670 | |||
| 671 | /** |
||
| 672 | * Set the areasplinerange. |
||
| 673 | * |
||
| 674 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreasplinerange $areasplinerange The areasplinerange. |
||
| 675 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 676 | */ |
||
| 677 | public function setAreasplinerange(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreasplinerange $areasplinerange = null) { |
||
| 681 | |||
| 682 | /** |
||
| 683 | * Set the bar. |
||
| 684 | * |
||
| 685 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar $bar The bar. |
||
| 686 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 687 | */ |
||
| 688 | public function setBar(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBar $bar = null) { |
||
| 692 | |||
| 693 | /** |
||
| 694 | * Set the boxplot. |
||
| 695 | * |
||
| 696 | * @param array $boxplot The boxplot. |
||
| 697 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 698 | */ |
||
| 699 | public function setBoxplot(array $boxplot = null) { |
||
| 703 | |||
| 704 | /** |
||
| 705 | * Set the bubble. |
||
| 706 | * |
||
| 707 | * @param array $bubble The bubble. |
||
| 708 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 709 | */ |
||
| 710 | public function setBubble(array $bubble = null) { |
||
| 714 | |||
| 715 | /** |
||
| 716 | * Set the column. |
||
| 717 | * |
||
| 718 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumn $column The column. |
||
| 719 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 720 | */ |
||
| 721 | public function setColumn(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsColumn $column = null) { |
||
| 725 | |||
| 726 | /** |
||
| 727 | * Set the columnrange. |
||
| 728 | * |
||
| 729 | * @param array $columnrange The columnrange. |
||
| 730 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 731 | */ |
||
| 732 | public function setColumnrange(array $columnrange = null) { |
||
| 736 | |||
| 737 | /** |
||
| 738 | * Set the errorbar. |
||
| 739 | * |
||
| 740 | * @param array $errorbar The errorbar. |
||
| 741 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 742 | */ |
||
| 743 | public function setErrorbar(array $errorbar = null) { |
||
| 747 | |||
| 748 | /** |
||
| 749 | * Set the funnel. |
||
| 750 | * |
||
| 751 | * @param array $funnel The funnel. |
||
| 752 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 753 | */ |
||
| 754 | public function setFunnel(array $funnel = null) { |
||
| 758 | |||
| 759 | /** |
||
| 760 | * Set the gauge. |
||
| 761 | * |
||
| 762 | * @param array $gauge The gauge. |
||
| 763 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 764 | */ |
||
| 765 | public function setGauge(array $gauge = null) { |
||
| 769 | |||
| 770 | /** |
||
| 771 | * Set the heatmap. |
||
| 772 | * |
||
| 773 | * @param array $heatmap The heatmap. |
||
| 774 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 775 | */ |
||
| 776 | public function setHeatmap(array $heatmap = null) { |
||
| 780 | |||
| 781 | /** |
||
| 782 | * Set the line. |
||
| 783 | * |
||
| 784 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsLine $line The line. |
||
| 785 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 786 | */ |
||
| 787 | public function setLine(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsLine $line = null) { |
||
| 791 | |||
| 792 | /** |
||
| 793 | * Set the pie. |
||
| 794 | * |
||
| 795 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPie $pie The pie. |
||
| 796 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 797 | */ |
||
| 798 | public function setPie(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPie $pie = null) { |
||
| 802 | |||
| 803 | /** |
||
| 804 | * Set the polygon. |
||
| 805 | * |
||
| 806 | * @param array $polygon The polygon. |
||
| 807 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 808 | */ |
||
| 809 | public function setPolygon(array $polygon = null) { |
||
| 813 | |||
| 814 | /** |
||
| 815 | * Set the pyramid. |
||
| 816 | * |
||
| 817 | * @param array $pyramid The pyramid. |
||
| 818 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 819 | */ |
||
| 820 | public function setPyramid(array $pyramid = null) { |
||
| 824 | |||
| 825 | /** |
||
| 826 | * Set the scatter. |
||
| 827 | * |
||
| 828 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter $scatter The scatter. |
||
| 829 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 830 | */ |
||
| 831 | public function setScatter(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter $scatter = null) { |
||
| 835 | |||
| 836 | /** |
||
| 837 | * Set the series. |
||
| 838 | * |
||
| 839 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSeries $series The series. |
||
| 840 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 841 | */ |
||
| 842 | public function setSeries(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSeries $series = null) { |
||
| 846 | |||
| 847 | /** |
||
| 848 | * Set the solidgauge. |
||
| 849 | * |
||
| 850 | * @param array $solidgauge The solidgauge. |
||
| 851 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 852 | */ |
||
| 853 | public function setSolidgauge(array $solidgauge = null) { |
||
| 857 | |||
| 858 | /** |
||
| 859 | * Set the spline. |
||
| 860 | * |
||
| 861 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSpline $spline The spline. |
||
| 862 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 863 | */ |
||
| 864 | public function setSpline(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsSpline $spline = null) { |
||
| 868 | |||
| 869 | /** |
||
| 870 | * Set the treemap. |
||
| 871 | * |
||
| 872 | * @param array $treemap The treemap. |
||
| 873 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 874 | */ |
||
| 875 | public function setTreemap(array $treemap = null) { |
||
| 879 | |||
| 880 | /** |
||
| 881 | * Set the waterfall. |
||
| 882 | * |
||
| 883 | * @param array $waterfall The waterfall. |
||
| 884 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsPlotOptions Returns the highcharts plot options. |
||
| 885 | */ |
||
| 886 | public function setWaterfall(array $waterfall = null) { |
||
| 890 | |||
| 891 | /** |
||
| 892 | * Convert into an array representing this instance. |
||
| 893 | * |
||
| 894 | * @return array Returns an array representing this instance. |
||
| 895 | */ |
||
| 896 | public function toArray() { |
||
| 995 | |||
| 996 | } |
||
| 997 |
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..