1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Add method description to conduit.query

Summary: As suggested in T6950, add the method description to the response from `conduit.query`.

Test Plan: Called `echo '{}' | arc call-conduit conduit.query` and verified that the response contained the method description.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11467
This commit is contained in:
Joshua Spence 2015-01-23 07:16:25 +11:00
parent 1258ed348b
commit fff0481184

View file

@ -31,6 +31,7 @@ final class ConduitQueryConduitAPIMethod extends ConduitAPIMethod {
$names_to_params = array();
foreach ($classes as $class) {
$names_to_params[$class->getAPIMethodName()] = array(
'description' => $class->getMethodDescription(),
'params' => $class->defineParamTypes(),
'return' => $class->defineReturnType(),
);