Page MenuHomestyx hydra

PhabricatorCommentEditType.php
No OneTemporary

PhabricatorCommentEditType.php

<?php
final class PhabricatorCommentEditType extends PhabricatorEditType {
protected function newConduitParameterType() {
return new ConduitStringParameterType();
}
public function generateTransactions(
PhabricatorApplicationTransaction $template,
array $spec) {
$comment = $template->getApplicationTransactionCommentObject()
->setContent(idx($spec, 'value'));
$xaction = $this->newTransaction($template)
->attachComment($comment);
return array($xaction);
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Dec 1, 3:24 PM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
427037
Default Alt Text
PhabricatorCommentEditType.php (511 B)

Event Timeline