You are here

ChartTitle.php in Charts 8

File

modules/charts_highcharts/src/Settings/Highcharts/ChartTitle.php
View source
<?php

namespace Drupal\charts_highcharts\Settings\Highcharts;

class ChartTitle implements \JsonSerializable {
  private $text;

  /**
   * @return mixed
   */
  public function getText() {
    return $this->text;
  }

  /**
   * @param mixed $text
   */
  public function setText($text) {
    $this->text = $text;
  }

  /**
   * @return array
   */
  public function jsonSerialize() {
    $vars = get_object_vars($this);
    return $vars;
  }

}

Classes

Namesort descending Description
ChartTitle