PlotBands.php in Charts 8.3
File
modules/charts_highcharts/src/Settings/Highcharts/PlotBands.php
View source
<?php
namespace Drupal\charts_highcharts\Settings\Highcharts;
class PlotBands implements \JsonSerializable {
private $from;
private $to;
private $color;
public function getFrom() {
return $this->from;
}
public function setFrom($from) {
$this->from = $from;
}
public function getTo() {
return $this->to;
}
public function setTo($to) {
$this->to = $to;
}
public function getColor() {
return $this->color;
}
public function setColor($color) {
$this->color = $color;
}
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}