Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/storage/DifferentialRevision.php
Show First 20 Lines • Show All 426 Lines • ▼ Show 20 Lines | public function attachDrafts(PhabricatorUser $viewer, array $drafts) { | ||||
$this->drafts[$viewer->getPHID()] = $drafts; | $this->drafts[$viewer->getPHID()] = $drafts; | ||||
return $this; | return $this; | ||||
} | } | ||||
/* -( HarbormasterBuildableInterface )------------------------------------- */ | /* -( HarbormasterBuildableInterface )------------------------------------- */ | ||||
public function getHarbormasterBuildableDisplayPHID() { | |||||
return $this->getHarbormasterContainerPHID(); | |||||
} | |||||
public function getHarbormasterBuildablePHID() { | public function getHarbormasterBuildablePHID() { | ||||
return $this->loadActiveDiff()->getPHID(); | return $this->loadActiveDiff()->getPHID(); | ||||
} | } | ||||
public function getHarbormasterContainerPHID() { | public function getHarbormasterContainerPHID() { | ||||
return $this->getPHID(); | return $this->getPHID(); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 196 Lines • Show Last 20 Lines |