1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-03 20:22:46 +01:00
phorge-phorge/src/applications/differential/conduit/DifferentialRevisionSearchConduitAPIMethod.php
epriestley a88329fc38 Implement basic differential.revision.search
Summary: Ref T11123. This implements a very basic skeleton for modern revision search.

Test Plan: Viewed and executed Conduit API method.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11123

Differential Revision: https://secure.phabricator.com/D16089
2016-06-09 09:06:58 -07:00

18 lines
388 B
PHP

<?php
final class DifferentialRevisionSearchConduitAPIMethod
extends PhabricatorSearchEngineAPIMethod {
public function getAPIMethodName() {
return 'differential.revision.search';
}
public function newSearchEngine() {
return new DifferentialRevisionSearchEngine();
}
public function getMethodSummary() {
return pht('Read information about revisions.');
}
}