[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 abstract class DoorkeeperBridge extends Phobject { 4 5 private $viewer; 6 private $throwOnMissingLink; 7 8 public function setThrowOnMissingLink($throw_on_missing_link) { 9 $this->throwOnMissingLink = $throw_on_missing_link; 10 return $this; 11 } 12 13 final public function setViewer($viewer) { 14 $this->viewer = $viewer; 15 return $this; 16 } 17 18 final public function getViewer() { 19 return $this->viewer; 20 } 21 22 public function isEnabled() { 23 return true; 24 } 25 26 abstract public function canPullRef(DoorkeeperObjectRef $ref); 27 abstract public function pullRefs(array $refs); 28 29 public function fillObjectFromData(DoorkeeperExternalObject $obj, $result) { 30 return; 31 } 32 33 public function didFailOnMissingLink() { 34 if ($this->throwOnMissingLink) { 35 throw new DoorkeeperMissingLinkException(); 36 } 37 38 return null; 39 } 40 41 }
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 |