mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 04:50:55 +01:00
21 lines
431 B
PHP
21 lines
431 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* @group paste
|
||
|
*/
|
||
|
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);
|
||
|
}
|
||
|
}
|