1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-08 13:51:02 +01:00
phorge-phorge/src/applications/fund/mail/FundInitiativeReplyHandler.php

17 lines
369 B
PHP
Raw Normal View History

<?php
final class FundInitiativeReplyHandler
extends PhabricatorApplicationTransactionReplyHandler {
public function validateMailReceiver($mail_receiver) {
if (!($mail_receiver instanceof FundInitiative)) {
throw new Exception(pht('Mail receiver is not a %s!', 'FundInitiative'));
}
}
public function getObjectPrefix() {
return 'I';
}
}