Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2893151
PhabricatorMacroMailReceiver.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
632 B
Referenced Files
None
Subscribers
None
PhabricatorMacroMailReceiver.php
View Options
<?php
final
class
PhabricatorMacroMailReceiver
extends
PhabricatorObjectMailReceiver
{
public
function
isEnabled
(
)
{
return
PhabricatorApplication
::
isClassInstalled
(
'PhabricatorManiphestApplication'
)
;
}
protected
function
getObjectPattern
(
)
{
return
'MCRO[1-9]\d*'
;
}
protected
function
loadObject
(
$pattern
,
PhabricatorUser
$viewer
)
{
$id
=
(int)
substr
(
$pattern
,
4
)
;
return
id
(
new
PhabricatorMacroQuery
(
)
)
->
setViewer
(
$viewer
)
->
withIDs
(
array
(
$id
)
)
->
executeOne
(
)
;
}
protected
function
getTransactionReplyHandler
(
)
{
return
new
PhabricatorMacroReplyHandler
(
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 17:57 (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1127190
Default Alt Text
PhabricatorMacroMailReceiver.php (632 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment