1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 07:42:40 +01:00
phorge-phorge/src/applications/maniphest/search/ManiphestTaskFerretEngine.php

28 lines
488 B
PHP
Raw Normal View History

<?php
final class ManiphestTaskFerretEngine
extends PhabricatorFerretEngine {
public function getApplicationName() {
return 'maniphest';
}
public function getScopeName() {
return 'task';
}
public function newSearchEngine() {
return new ManiphestTaskSearchEngine();
}
protected function getFunctionMap() {
$map = parent::getFunctionMap();
$map['body']['aliases'][] = 'desc';
$map['body']['aliases'][] = 'description';
return $map;
}
}