@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3final class ConduitConstantDescription extends Phobject {
4
5 private $key;
6 private $value;
7 private $isDeprecated;
8
9 /**
10 * @param string $key Key of the constant
11 */
12 public function setKey($key) {
13 $this->key = $key;
14 return $this;
15 }
16
17 public function getKey() {
18 return $this->key;
19 }
20
21 /**
22 * @param string $value Description of the constant
23 */
24 public function setValue($value) {
25 $this->value = $value;
26 return $this;
27 }
28
29 public function getValue() {
30 return $this->value;
31 }
32
33 /**
34 * @param bool $is_deprecated Whether the constant is deprecated
35 */
36 public function setIsDeprecated($is_deprecated) {
37 $this->isDeprecated = $is_deprecated;
38 return $this;
39 }
40
41 public function getIsDeprecated() {
42 return $this->isDeprecated;
43 }
44
45}