Page MenuHomePhorge

DiffusionRepositoryByIDRemarkupRule.php
No OneTemporary

DiffusionRepositoryByIDRemarkupRule.php

<?php
final class DiffusionRepositoryByIDRemarkupRule
extends PhabricatorObjectRemarkupRule {
protected function getObjectNamePrefix() {
return 'R';
}
protected function getObjectIDPattern() {
return '[0-9]+';
}
public function getPriority() {
return 460.0;
}
protected function loadObjects(array $ids) {
$viewer = $this->getEngine()->getConfig('viewer');
$repos = id(new PhabricatorRepositoryQuery())
->setViewer($viewer)
->withIdentifiers($ids);
$repos->execute();
return $repos->getIdentifierMap();
}
}

File Metadata

Mime Type
text/x-php
Expires
Thu, Mar 27, 00:51 (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1201430
Default Alt Text
DiffusionRepositoryByIDRemarkupRule.php (572 B)

Event Timeline