Page MenuHomec4science

PhabricatorMacroReplyHandler.php
No OneTemporary

File Metadata

Created
Fri, Nov 22, 22:02

PhabricatorMacroReplyHandler.php

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

Event Timeline