Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90333907
PhabricatorBadgesReplyHandler.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, Oct 31, 15:22
Size
375 B
Mime Type
text/x-php
Expires
Sat, Nov 2, 15:22 (2 d)
Engine
blob
Format
Raw Data
Handle
22052670
Attached To
rPH Phabricator
PhabricatorBadgesReplyHandler.php
View Options
<?php
final
class
PhabricatorBadgesReplyHandler
extends
PhabricatorApplicationTransactionReplyHandler
{
public
function
validateMailReceiver
(
$mail_receiver
)
{
if
(!(
$mail_receiver
instanceof
PhabricatorBadgesBadge
))
{
throw
new
Exception
(
pht
(
'Mail receiver is not a %s!'
,
'Badges'
));
}
}
public
function
getObjectPrefix
()
{
return
'BDGE'
;
}
}
Event Timeline
Log In to Comment