[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 final class DiffusionMercurialResponse extends AphrontResponse { 4 5 private $content; 6 7 public function setContent($content) { 8 $this->content = $content; 9 return $this; 10 } 11 12 public function buildResponseString() { 13 return $this->content; 14 } 15 16 public function getHeaders() { 17 $headers = array( 18 array('Content-Type', 'application/mercurial-0.1'), 19 ); 20 return array_merge(parent::getHeaders(), $headers); 21 } 22 23 public function getCacheHeaders() { 24 return array(); 25 } 26 27 public function getHTTPResponseCode() { 28 return 200; 29 } 30 31 }
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 |