'; } protected function defineCustomParamTypes() { return array( 'commit' => 'required string', ); } protected function getResult(ConduitAPIRequest $request) { $repository = $this->getRepository($request); return id(new DiffusionLowLevelParentsQuery()) ->setRepository($repository) ->withIdentifier($request->getValue('commit')) ->execute(); } }