3 final class DifferentialRevisionMailReceiver
4 extends PhabricatorObjectMailReceiver
{
6 public function isEnabled() {
7 return PhabricatorApplication
::isClassInstalled(
8 'PhabricatorDifferentialApplication');
11 protected function getObjectPattern() {
15 protected function loadObject($pattern, PhabricatorUser
$viewer) {
16 $id = (int)substr($pattern, 1);
18 return id(new DifferentialRevisionQuery())
22 ->needReviewerAuthority(true)
23 ->needActiveDiffs(true)
27 protected function getTransactionReplyHandler() {
28 return new DifferentialReplyHandler();