3 final class PhabricatorPasteTransactionComment
4 extends PhabricatorApplicationTransactionComment
{
9 public function getApplicationTransactionObject() {
10 return new PhabricatorPasteTransaction();
13 public function shouldUseMarkupCache($field) {
14 // Only cache submitted comments.
15 return ($this->getTransactionPHID() != null);
18 protected function getConfiguration() {
19 $config = parent
::getConfiguration();
20 $config[self
::CONFIG_COLUMN_SCHEMA
] = array(
21 'lineNumber' => 'uint32?',
22 'lineLength' => 'uint32?',
23 ) +
$config[self
::CONFIG_COLUMN_SCHEMA
];