[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 final class ConduitAPIResponse { 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 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |