Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92648812
ProjectReplyHandler.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
Fri, Nov 22, 09:18
Size
500 B
Mime Type
text/x-php
Expires
Sun, Nov 24, 09:18 (2 d)
Engine
blob
Format
Raw Data
Handle
22477741
Attached To
rPH Phabricator
ProjectReplyHandler.php
View Options
<?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
Log In to Comment