You are here

ChartType.php in Charts 8

File

modules/charts_c3/src/Settings/CThree/ChartType.php
View source
<?php

namespace Drupal\charts_c3\Settings\CThree;

class ChartType implements \JsonSerializable {
  private $type;

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

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

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

}

Classes

Namesort descending Description
ChartType