@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
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 43 lines 822 B view raw
1<?php 2 3final class ConduitAPIResponse extends Phobject { 4 5 private $result; 6 private $errorCode; 7 private $errorInfo; 8 9 public function setResult($result) { 10 $this->result = $result; 11 return $this; 12 } 13 14 public function getResult() { 15 return $this->result; 16 } 17 18 public function setErrorCode($error_code) { 19 $this->errorCode = $error_code; 20 return $this; 21 } 22 23 public function getErrorCode() { 24 return $this->errorCode; 25 } 26 27 public function setErrorInfo($error_info) { 28 $this->errorInfo = $error_info; 29 return $this; 30 } 31 public function getErrorInfo() { 32 return $this->errorInfo; 33 } 34 35 public function toDictionary() { 36 return array( 37 'result' => $this->getResult(), 38 'error_code' => $this->getErrorCode(), 39 'error_info' => $this->getErrorInfo(), 40 ); 41 } 42 43}