Page MenuHomec4science

ProjectReplyHandler.php
No OneTemporary

File Metadata

Created
Fri, Nov 22, 09:18

ProjectReplyHandler.php

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

Event Timeline