Differential D21227 Diff 50563 src/applications/transactions/query/PhabricatorApplicationTransactionTemplatedCommentQuery.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/query/PhabricatorApplicationTransactionTemplatedCommentQuery.php
<?php | <?php | ||||
final class PhabricatorApplicationTransactionTemplatedCommentQuery | final class PhabricatorApplicationTransactionTemplatedCommentQuery | ||||
extends PhabricatorApplicationTransactionCommentQuery { | extends PhabricatorApplicationTransactionCommentQuery { | ||||
private $template; | private $template; | ||||
public function setTemplate( | public function setTemplate( | ||||
PhabricatorApplicationTransactionComment $template) { | PhabricatorApplicationTransactionComment $template) { | ||||
$this->template = $template; | $this->template = $template; | ||||
return $this; | return $this; | ||||
} | } | ||||
protected function getTemplate() { | protected function newApplicationTransactionCommentTemplate() { | ||||
return $this->template; | return id(clone $this->template); | ||||
} | } | ||||
} | } |