Label.php in Charts 8.3
Same filename and directory in other branches
File
modules/charts_highcharts/src/Settings/Highcharts/Label.phpView source
<?php
namespace Drupal\charts_highcharts\Settings\Highcharts;
/**
* Label.
*/
class Label implements \JsonSerializable {
private $rotation;
/**
* Get Rotation.
*
* @return mixed
* Rotation.
*/
public function getRotation() {
return $this->rotation;
}
/**
* Set Rotation.
*
* @param mixed $rotation
* Rotation.
*/
public function setRotation($rotation) {
$this->rotation = $rotation;
}
/**
* Json Serialize.
*
* @return array
* Json Serialize.
*/
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}