Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98218556
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
Sat, Jan 11, 04:12
Size
374 B
Mime Type
text/x-php
Expires
Mon, Jan 13, 04:12 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23533164
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