Changeset View
Changeset View
Standalone View
Standalone View
src/ref/ArcanistRef.php
<?php | <?php | ||||
abstract class ArcanistRef | abstract class ArcanistRef | ||||
extends ArcanistHardpointObject { | extends ArcanistHardpointObject { | ||||
abstract public function getRefDisplayName(); | abstract public function getRefDisplayName(); | ||||
final public function newRefView() { | final public function newRefView() { | ||||
$ref_view = id(new ArcanistRefView()) | $ref_view = (new ArcanistRefView()) | ||||
->setRef($this); | ->setRef($this); | ||||
$this->buildRefView($ref_view); | $this->buildRefView($ref_view); | ||||
return $ref_view; | return $ref_view; | ||||
} | } | ||||
protected function buildRefView(ArcanistRefView $view) { | protected function buildRefView(ArcanistRefView $view) { | ||||
return null; | return null; | ||||
} | } | ||||
} | } |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0