Page MenuHomec4science

PhrictionReplyHandler.php
No OneTemporary

File Metadata

Created
Thu, Jan 2, 17:56

PhrictionReplyHandler.php

<?php
final class PhrictionReplyHandler
extends PhabricatorApplicationTransactionReplyHandler {
public function validateMailReceiver($mail_receiver) {
if (!($mail_receiver instanceof PhrictionDocument)) {
throw new Exception('Mail receiver is not a PhrictionDocument!');
}
}
public function getObjectPrefix() {
return PhrictionDocumentPHIDType::TYPECONST;
}
}

Event Timeline