Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93188067
DifferentialReplyHandler.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
Tue, Nov 26, 21:16
Size
374 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 21:16 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22590631
Attached To
rPH Phabricator
DifferentialReplyHandler.php
View Options
<?php
final
class
DifferentialReplyHandler
extends
PhabricatorApplicationTransactionReplyHandler
{
public
function
validateMailReceiver
(
$mail_receiver
)
{
if
(!(
$mail_receiver
instanceof
DifferentialRevision
))
{
throw
new
Exception
(
pht
(
'Receiver is not a %s!'
,
'DifferentialRevision'
));
}
}
public
function
getObjectPrefix
()
{
return
'D'
;
}
}
Event Timeline
Log In to Comment