Page MenuHomestyx hydra

PhabricatorPasteTransactionComment.php
No OneTemporary

PhabricatorPasteTransactionComment.php

<?php
final class PhabricatorPasteTransactionComment
extends PhabricatorApplicationTransactionComment {
protected $lineNumber;
protected $lineLength;
public function getApplicationTransactionObject() {
return new PhabricatorPasteTransaction();
}
public function shouldUseMarkupCache($field) {
// Only cache submitted comments.
return ($this->getTransactionPHID() != null);
}
protected function getConfiguration() {
$config = parent::getConfiguration();
$config[self::CONFIG_COLUMN_SCHEMA] = array(
'lineNumber' => 'uint32?',
'lineLength' => 'uint32?',
) + $config[self::CONFIG_COLUMN_SCHEMA];
return $config;
}
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Dec 3, 6:40 PM (21 m, 27 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
434023
Default Alt Text
PhabricatorPasteTransactionComment.php (677 B)

Event Timeline