Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F110848282
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
Mon, Apr 28, 10:24
Size
399 B
Mime Type
text/x-php
Expires
Wed, Apr 30, 10:24 (2 d)
Engine
blob
Format
Raw Data
Handle
25856159
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
;
}
}
Event Timeline
Log In to Comment