mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 08:12:40 +01:00
16 lines
382 B
PHP
16 lines
382 B
PHP
|
<?php
|
||
|
|
||
|
final class PhabricatorCalendarReplyHandler
|
||
|
extends PhabricatorApplicationTransactionReplyHandler {
|
||
|
|
||
|
public function validateMailReceiver($mail_receiver) {
|
||
|
if (!($mail_receiver instanceof PhabricatorCalendarEvent)) {
|
||
|
throw new Exception('Mail receiver is not a PhabricatorCalendarEvent!');
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public function getObjectPrefix() {
|
||
|
return 'E';
|
||
|
}
|
||
|
}
|