[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/ponder/mail/ -> PonderQuestionReplyHandler.php (source)

   1  <?php
   2  
   3  final class PonderQuestionReplyHandler extends PhabricatorMailReplyHandler {
   4  
   5    public function validateMailReceiver($mail_receiver) {
   6      if (!($mail_receiver instanceof PonderQuestion)) {
   7        throw new Exception('Mail receiver is not a PonderQuestion!');
   8      }
   9    }
  10  
  11    public function getPrivateReplyHandlerEmailAddress(
  12      PhabricatorObjectHandle $handle) {
  13      return $this->getDefaultPrivateReplyHandlerEmailAddress($handle, 'Q');
  14    }
  15  
  16    public function getPublicReplyHandlerEmailAddress() {
  17      return $this->getDefaultPublicReplyHandlerEmailAddress('Q');
  18    }
  19  
  20    public function getReplyHandlerInstructions() {
  21      return null;
  22    }
  23  
  24    protected function receiveEmail(PhabricatorMetaMTAReceivedMail $mail) {
  25      // ignore this entirely for now
  26    }
  27  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1