Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/storage/DifferentialRevision.php
Show First 20 Lines • Show All 401 Lines • ▼ Show 20 Lines | final class DifferentialRevision extends DifferentialDAO | ||||
public function getRepository() { | public function getRepository() { | ||||
return $this->assertAttached($this->repository); | return $this->assertAttached($this->repository); | ||||
} | } | ||||
public function attachRepository(PhabricatorRepository $repository = null) { | public function attachRepository(PhabricatorRepository $repository = null) { | ||||
$this->repository = $repository; | $this->repository = $repository; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function isClosed() { | |||||
return DifferentialRevisionStatus::isClosedStatus($this->getStatus()); | |||||
} | |||||
} | } |