Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F103390651
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
Sat, Mar 1, 17:44
Size
648 B
Mime Type
text/x-php
Expires
Mon, Mar 3, 17:44 (1 d, 20 h)
Engine
blob
Format
Raw Data
Handle
24528307
Attached To
rPH Phabricator
DiffusionCommitRemarkupRule.php
View Options
<?php
final
class
DiffusionCommitRemarkupRule
extends
PhabricatorRemarkupRuleObject
{
protected
function
getObjectNamePrefix
()
{
return
''
;
}
protected
function
getObjectNamePrefixBeginsWithWordCharacter
()
{
return
true
;
}
protected
function
getObjectIDPattern
()
{
return
PhabricatorRepositoryPHIDTypeCommit
::
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