Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96683977
PonderQuestionReplyHandler.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
Sun, Dec 29, 19:45
Size
764 B
Mime Type
text/x-php
Expires
Tue, Dec 31, 19:45 (2 d)
Engine
blob
Format
Raw Data
Handle
23225464
Attached To
rPH Phabricator
PonderQuestionReplyHandler.php
View Options
<?php
final
class
PonderQuestionReplyHandler
extends
PhabricatorMailReplyHandler
{
public
function
validateMailReceiver
(
$mail_receiver
)
{
if
(!(
$mail_receiver
instanceof
PonderQuestion
))
{
throw
new
Exception
(
'Mail receiver is not a PonderQuestion!'
);
}
}
public
function
getPrivateReplyHandlerEmailAddress
(
PhabricatorObjectHandle
$handle
)
{
return
$this
->
getDefaultPrivateReplyHandlerEmailAddress
(
$handle
,
'Q'
);
}
public
function
getPublicReplyHandlerEmailAddress
()
{
return
$this
->
getDefaultPublicReplyHandlerEmailAddress
(
'Q'
);
}
public
function
getReplyHandlerInstructions
()
{
return
null
;
}
protected
function
receiveEmail
(
PhabricatorMetaMTAReceivedMail
$mail
)
{
// ignore this entirely for now
}
}
Event Timeline
Log In to Comment