Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/diff/interface/PhabricatorInlineComment.php
| Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | abstract class PhabricatorInlineComment | ||||
| public function getStorageObject() { | public function getStorageObject() { | ||||
| if (!$this->storageObject) { | if (!$this->storageObject) { | ||||
| $this->storageObject = $this->newStorageObject(); | $this->storageObject = $this->newStorageObject(); | ||||
| } | } | ||||
| return $this->storageObject; | return $this->storageObject; | ||||
| } | } | ||||
| public function getInlineCommentCacheFragment() { | |||||
| $phid = $this->getPHID(); | |||||
| if ($phid === null) { | |||||
| return null; | |||||
| } | |||||
| return sprintf('inline(%s)', $phid); | |||||
| } | |||||
| abstract protected function newStorageObject(); | abstract protected function newStorageObject(); | ||||
| abstract public function getControllerURI(); | abstract public function getControllerURI(); | ||||
| abstract public function setChangesetID($id); | abstract public function setChangesetID($id); | ||||
| abstract public function getChangesetID(); | abstract public function getChangesetID(); | ||||
| abstract public function supportsHiding(); | abstract public function supportsHiding(); | ||||
| abstract public function isHidden(); | abstract public function isHidden(); | ||||
| ▲ Show 20 Lines • Show All 290 Lines • Show Last 20 Lines | |||||