Page MenuHomestyx hydra

ManiphestCloseEmailCommand.php
No OneTemporary

ManiphestCloseEmailCommand.php

<?php
final class ManiphestCloseEmailCommand
extends ManiphestEmailCommand {
public function getCommand() {
return 'close';
}
public function getCommandSummary() {
return pht('Close a task.');
}
public function buildTransactions(
PhabricatorUser $viewer,
PhabricatorApplicationTransactionInterface $object,
PhabricatorMetaMTAReceivedMail $mail,
$command,
array $argv) {
$xactions = array();
$xactions[] = $object->getApplicationTransactionTemplate()
->setTransactionType(ManiphestTransaction::TYPE_STATUS)
->setNewValue(ManiphestTaskStatus::getDefaultClosedStatus());
return $xactions;
}
}

File Metadata

Mime Type
text/x-php
Expires
Thu, Jan 15, 1:58 AM (1 d, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
612310
Default Alt Text
ManiphestCloseEmailCommand.php (663 B)

Event Timeline