Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102713905
DiffusionCommitRemarkupRule.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, Feb 23, 11:02
Size
646 B
Mime Type
text/x-php
Expires
Tue, Feb 25, 11:02 (2 d)
Engine
blob
Format
Raw Data
Handle
24403676
Attached To
rPH Phabricator
DiffusionCommitRemarkupRule.php
View Options
<?php
final
class
DiffusionCommitRemarkupRule
extends
PhabricatorObjectRemarkupRule
{
protected
function
getObjectNamePrefix
()
{
return
''
;
}
protected
function
getObjectNamePrefixBeginsWithWordCharacter
()
{
return
true
;
}
protected
function
getObjectIDPattern
()
{
return
PhabricatorRepositoryCommitPHIDType
::
getCommitObjectNamePattern
();
}
protected
function
loadObjects
(
array
$ids
)
{
$viewer
=
$this
->
getEngine
()->
getConfig
(
'viewer'
);
$query
=
id
(
new
DiffusionCommitQuery
())
->
setViewer
(
$viewer
)
->
withIdentifiers
(
$ids
);
$query
->
execute
();
return
$query
->
getIdentifierMap
();
}
}
Event Timeline
Log In to Comment