Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/owners/mail/OwnersPackageReplyHandler.php
12256 views
1
<?php
2
3
final class OwnersPackageReplyHandler extends PhabricatorMailReplyHandler {
4
public function validateMailReceiver($mail_receiver) {
5
if (!($mail_receiver instanceof PhabricatorOwnersPackage)) {
6
throw new Exception(
7
pht(
8
'Receiver is not a %s!',
9
'PhabricatorOwnersPackage'));
10
}
11
}
12
13
public function getPrivateReplyHandlerEmailAddress(
14
PhabricatorUser $user) {
15
return null;
16
}
17
18
public function getPublicReplyHandlerEmailAddress() {
19
return null;
20
}
21
22
protected function receiveEmail(PhabricatorMetaMTAReceivedMail $mail) {
23
return;
24
}
25
}
26
27