Page MenuHomec4science

PhameBlogReplyHandler.php
No OneTemporary

File Metadata

Created
Sun, Nov 17, 13:24

PhameBlogReplyHandler.php

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

Event Timeline