1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 18:32:41 +01:00
phorge-phorge/src/applications/maniphest/remarkup/ManiphestRemarkupRule.php

23 lines
400 B
PHP
Raw Normal View History

<?php
/**
* @group maniphest
*/
final class ManiphestRemarkupRule
extends PhabricatorRemarkupRuleObject {
protected function getObjectNamePrefix() {
return 'T';
}
protected function loadObjects(array $ids) {
$viewer = $this->getEngine()->getConfig('viewer');
return id(new ManiphestTaskQuery())
->setViewer($viewer)
->withTaskIDs($ids)
->execute();
}
}