Page MenuHomec4science

PhabricatorBadgesReplyHandler.php
No OneTemporary

File Metadata

Created
Tue, Nov 26, 14:17

PhabricatorBadgesReplyHandler.php

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

Event Timeline