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