Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93451706
PhrictionReplyHandler.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
Thu, Nov 28, 21:09
Size
412 B
Mime Type
text/x-php
Expires
Sat, Nov 30, 21:09 (2 d)
Engine
blob
Format
Raw Data
Handle
22641678
Attached To
rPH Phabricator
PhrictionReplyHandler.php
View Options
<?php
final
class
PhrictionReplyHandler
extends
PhabricatorApplicationTransactionReplyHandler
{
public
function
validateMailReceiver
(
$mail_receiver
)
{
if
(!(
$mail_receiver
instanceof
PhrictionDocument
))
{
throw
new
Exception
(
pht
(
'Mail receiver is not a %s!'
,
'PhrictionDocument'
));
}
}
public
function
getObjectPrefix
()
{
return
PhrictionDocumentPHIDType
::
TYPECONST
;
}
}
Event Timeline
Log In to Comment