'; } public function defineErrorTypes() { return array(); } protected function execute(ConduitAPIRequest $request) { $classes = id(new PhutilSymbolLoader()) ->setAncestorClass('ConduitAPIMethod') ->setType('class') ->loadObjects(); $names_to_params = array(); foreach ($classes as $class) { $names_to_params[$class->getAPIMethodName()] = array( 'description' => $class->getMethodDescription(), 'params' => $class->defineParamTypes(), 'return' => $class->defineReturnType(), ); } return $names_to_params; } }