Remove all "FileHasObject" edge reads and writes
[phabricator.git] / src / applications / fact / chart / PhabricatorChartFunctionLabel.php
blobfa3f65aa673ea3ed89e86db7da45d31ebb74556f
1 <?php
3 final class PhabricatorChartFunctionLabel
4 extends Phobject {
6 private $key;
7 private $name;
8 private $color;
9 private $icon;
10 private $fillColor;
12 public function setKey($key) {
13 $this->key = $key;
14 return $this;
17 public function getKey() {
18 return $this->key;
21 public function setName($name) {
22 $this->name = $name;
23 return $this;
26 public function getName() {
27 return $this->name;
30 public function setColor($color) {
31 $this->color = $color;
32 return $this;
35 public function getColor() {
36 return $this->color;
39 public function setIcon($icon) {
40 $this->icon = $icon;
41 return $this;
44 public function getIcon() {
45 return $this->icon;
48 public function setFillColor($fill_color) {
49 $this->fillColor = $fill_color;
50 return $this;
53 public function getFillColor() {
54 return $this->fillColor;
57 public function toWireFormat() {
58 return array(
59 'key' => $this->getKey(),
60 'name' => $this->getName(),
61 'color' => $this->getColor(),
62 'icon' => $this->getIcon(),
63 'fillColor' => $this->getFillColor(),