Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / calendar / parser / data / PhutilCalendarNode.php
blobe4d7905bc37a78ac7739b24ff901789bdacf3852
1 <?php
3 abstract class PhutilCalendarNode extends Phobject {
5 private $attributes = array();
7 final public function getNodeType() {
8 return $this->getPhobjectClassConstant('NODETYPE');
11 final public function setAttribute($key, $value) {
12 $this->attributes[$key] = $value;
13 return $this;
16 final public function getAttribute($key, $default = null) {
17 return idx($this->attributes, $key, $default);