You are here

class Label in Charts 8.3

Same name and namespace in other branches
  1. 8 modules/charts_highcharts/src/Settings/Highcharts/Label.php \Drupal\charts_highcharts\Settings\Highcharts\Label

Label.

Hierarchy

  • class \Drupal\charts_highcharts\Settings\Highcharts\Label implements \Drupal\charts_highcharts\Settings\Highcharts\JsonSerializable

Expanded class hierarchy of Label

File

modules/charts_highcharts/src/Settings/Highcharts/Label.php, line 8

Namespace

Drupal\charts_highcharts\Settings\Highcharts
View source
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;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Label::$rotation private property
Label::getRotation public function Get Rotation.
Label::jsonSerialize public function Json Serialize.
Label::setRotation public function Set Rotation.