Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/calendar/mail/PhabricatorCalendarReplyHandler.php
12256 views
1
<?php
2
3
final class PhabricatorCalendarReplyHandler
4
extends PhabricatorApplicationTransactionReplyHandler {
5
6
public function validateMailReceiver($mail_receiver) {
7
if (!($mail_receiver instanceof PhabricatorCalendarEvent)) {
8
throw new Exception(
9
pht(
10
'Mail receiver is not a %s!',
11
'PhabricatorCalendarEvent'));
12
}
13
}
14
15
public function getObjectPrefix() {
16
return 'E';
17
}
18
}
19
20