Page MenuHomec4science

PhamePostReplyHandler.php
No OneTemporary

File Metadata

Created
Sun, Nov 17, 03:40

PhamePostReplyHandler.php

<?php
final class PhamePostReplyHandler
extends PhabricatorApplicationTransactionReplyHandler {
public function validateMailReceiver($mail_receiver) {
if (!($mail_receiver instanceof PhamePost)) {
throw new Exception(
pht('Mail receiver is not a %s.', 'PhamePost'));
}
}
public function getObjectPrefix() {
return PhabricatorPhamePostPHIDType::TYPECONST;
}
}

Event Timeline