Remove product literal strings in "pht()", part 8
[phabricator.git] / src / applications / paste / storage / PhabricatorPasteTransactionComment.php
blob6e7abdbb9ca96d3d36d7d9319330fc485a5bf6d6
1 <?php
3 final class PhabricatorPasteTransactionComment
4 extends PhabricatorApplicationTransactionComment {
6 protected $lineNumber;
7 protected $lineLength;
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];
24 return $config;