3 final class ManiphestCloseEmailCommand
4 extends ManiphestEmailCommand
{
6 public function getCommand() {
10 public function getCommandSummary() {
12 'Close a task. This changes the task status to the default closed '.
13 'status. For a more powerful (but less concise) way to change task '.
14 'statuses, see `%s`.',
18 public function buildTransactions(
19 PhabricatorUser
$viewer,
20 PhabricatorApplicationTransactionInterface
$object,
21 PhabricatorMetaMTAReceivedMail
$mail,
26 $xactions[] = $object->getApplicationTransactionTemplate()
27 ->setTransactionType(ManiphestTaskStatusTransaction
::TRANSACTIONTYPE
)
28 ->setNewValue(ManiphestTaskStatus
::getDefaultClosedStatus());