Changeset View
Changeset View
Standalone View
Standalone View
src/applications/owners/mail/OwnersPackageReplyHandler.php
| <?php | <?php | ||||
| final class OwnersPackageReplyHandler extends PhabricatorMailReplyHandler { | final class OwnersPackageReplyHandler extends PhabricatorMailReplyHandler { | ||||
| public function validateMailReceiver($mail_receiver) { | public function validateMailReceiver($mail_receiver) { | ||||
| if (!($mail_receiver instanceof PhabricatorOwnersPackage)) { | if (!($mail_receiver instanceof PhabricatorOwnersPackage)) { | ||||
| throw new Exception( | throw new Exception( | ||||
| pht( | pht( | ||||
| 'Receiver is not a %s!', | 'Receiver is not a %s!', | ||||
| 'PhabricatorOwnersPackage')); | 'PhabricatorOwnersPackage')); | ||||
| } | } | ||||
| } | } | ||||
| public function getPrivateReplyHandlerEmailAddress( | public function getPrivateReplyHandlerEmailAddress( | ||||
| PhabricatorObjectHandle $handle) { | PhabricatorUser $user) { | ||||
| return null; | return null; | ||||
| } | } | ||||
| public function getPublicReplyHandlerEmailAddress() { | public function getPublicReplyHandlerEmailAddress() { | ||||
| return null; | return null; | ||||
| } | } | ||||
| protected function receiveEmail(PhabricatorMetaMTAReceivedMail $mail) { | protected function receiveEmail(PhabricatorMetaMTAReceivedMail $mail) { | ||||
| return; | return; | ||||
| } | } | ||||
| } | } | ||||