Differential D21226 Diff 50562 src/applications/audit/storage/PhabricatorAuditTransactionComment.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/audit/storage/PhabricatorAuditTransactionComment.php
| <?php | <?php | ||||
| final class PhabricatorAuditTransactionComment | final class PhabricatorAuditTransactionComment | ||||
| extends PhabricatorApplicationTransactionComment { | extends PhabricatorApplicationTransactionComment | ||||
| implements | |||||
| PhabricatorInlineCommentInterface { | |||||
| protected $commitPHID; | protected $commitPHID; | ||||
| protected $pathID; | protected $pathID; | ||||
| 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 67 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 PhabricatorAuditInlineComment::newFromModernComment($this); | |||||
| } | |||||
| } | } | ||||