@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
at upstream/main 40 lines 672 B view raw
1<?php 2 3final class PhutilCalendarUserNode extends PhutilCalendarNode { 4 5 private $name; 6 private $uri; 7 private $status; 8 9 const STATUS_INVITED = 'invited'; 10 const STATUS_ACCEPTED = 'accepted'; 11 const STATUS_DECLINED = 'declined'; 12 13 public function setName($name) { 14 $this->name = $name; 15 return $this; 16 } 17 18 public function getName() { 19 return $this->name; 20 } 21 22 public function setURI($uri) { 23 $this->uri = $uri; 24 return $this; 25 } 26 27 public function getURI() { 28 return $this->uri; 29 } 30 31 public function setStatus($status) { 32 $this->status = $status; 33 return $this; 34 } 35 36 public function getStatus() { 37 return $this->status; 38 } 39 40}