Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F103303194
PhamePostReplyHandler.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Mar 1, 00:39
Size
479 B
Mime Type
text/x-php
Expires
Mon, Mar 3, 00:39 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24537839
Attached To
rPH Phabricator
PhamePostReplyHandler.php
View Options
<?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
;
}
protected
function
shouldCreateCommentFromMailBody
()
{
return
false
;
}
}
Event Timeline
Log In to Comment