Differential D18490 Diff 44417 src/applications/transactions/storage/PhabricatorModularTransactionType.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/storage/PhabricatorModularTransactionType.php
Show First 20 Lines • Show All 128 Lines • ▼ Show 20 Lines | abstract class PhabricatorModularTransactionType | ||||
final protected function getEditor() { | final protected function getEditor() { | ||||
if (!$this->editor) { | if (!$this->editor) { | ||||
throw new PhutilInvalidStateException('setEditor'); | throw new PhutilInvalidStateException('setEditor'); | ||||
} | } | ||||
return $this->editor; | return $this->editor; | ||||
} | } | ||||
final protected function hasEditor() { | |||||
return (bool)$this->editor; | |||||
} | |||||
final protected function getAuthorPHID() { | final protected function getAuthorPHID() { | ||||
return $this->getStorage()->getAuthorPHID(); | return $this->getStorage()->getAuthorPHID(); | ||||
} | } | ||||
final protected function getObjectPHID() { | final protected function getObjectPHID() { | ||||
return $this->getStorage()->getObjectPHID(); | return $this->getStorage()->getObjectPHID(); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 203 Lines • Show Last 20 Lines |