Differential D21226 Diff 50562 src/applications/differential/storage/DifferentialTransactionComment.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/storage/DifferentialTransactionComment.php
| <?php | <?php | ||||
| final class DifferentialTransactionComment | final class DifferentialTransactionComment | ||||
| extends PhabricatorApplicationTransactionComment { | extends PhabricatorApplicationTransactionComment | ||||
| implements | |||||
| PhabricatorInlineCommentInterface { | |||||
| protected $revisionPHID; | protected $revisionPHID; | ||||
| protected $changesetID; | protected $changesetID; | ||||
| protected $isNewFile = 0; | protected $isNewFile = 0; | ||||
| protected $lineNumber = 0; | protected $lineNumber = 0; | ||||
| protected $lineLength = 0; | protected $lineLength = 0; | ||||
| protected $fixedState; | protected $fixedState; | ||||
| protected $hasReplies = 0; | protected $hasReplies = 0; | ||||
| ▲ Show 20 Lines • Show All 113 Lines • ▼ Show 20 Lines | public function setAttribute($key, $value) { | ||||
| $this->attributes[$key] = $value; | $this->attributes[$key] = $value; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function isEmptyInlineComment() { | public function isEmptyInlineComment() { | ||||
| return !strlen($this->getContent()); | return !strlen($this->getContent()); | ||||
| } | } | ||||
| public function newInlineCommentObject() { | |||||
| return DifferentialInlineComment::newFromModernComment($this); | |||||
| } | |||||
| } | } | ||||