3 final class ReleephDependsOnFieldSpecification
4 extends ReleephFieldSpecification
{
6 public function getFieldKey() {
10 public function getName() {
11 return pht('Depends On');
14 public function getRequiredHandlePHIDsForPropertyView() {
15 return $this->getDependentRevisionPHIDs();
18 public function renderPropertyViewValue(array $handles) {
19 return $this->renderHandleList($handles);
22 private function getDependentRevisionPHIDs() {
23 $requested_object = $this->getObject()->getRequestedObjectPHID();
24 if (!($requested_object instanceof DifferentialRevision
)) {
28 $revision = $requested_object;
30 return PhabricatorEdgeQuery
::loadDestinationPHIDs(
32 DifferentialRevisionDependsOnRevisionEdgeType
::EDGECONST
);