You are here

ChartType.php in Charts 8.3

File

modules/charts_billboard/src/Settings/Billboard/ChartType.php
View source
<?php

namespace Drupal\charts_billboard\Settings\Billboard;


/**
 * Chart Type.
 */
class ChartType implements \JsonSerializable {
  private $type;

  /**
   * Get Type.
   *
   * @return mixed
   *   Type.
   */
  public function getType() {
    return $this->type;
  }

  /**
   * Set Type.
   *
   * @param mixed $type
   *   Type.
   */
  public function setType($type) {
    $this->type = $type;
  }

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

}

Classes

Namesort descending Description
ChartType Chart Type.