Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102550627
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
Fri, Feb 21, 22:04
Size
374 B
Mime Type
text/x-php
Expires
Sun, Feb 23, 22:04 (2 d)
Engine
blob
Format
Raw Data
Handle
24261486
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