Differential D12380 Diff 29771 src/applications/diffusion/conduit/DiffusionExistsQueryConduitAPIMethod.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/conduit/DiffusionExistsQueryConduitAPIMethod.php
<?php | <?php | ||||
final class DiffusionExistsQueryConduitAPIMethod | final class DiffusionExistsQueryConduitAPIMethod | ||||
extends DiffusionQueryConduitAPIMethod { | extends DiffusionQueryConduitAPIMethod { | ||||
public function getAPIMethodName() { | public function getAPIMethodName() { | ||||
return 'diffusion.existsquery'; | return 'diffusion.existsquery'; | ||||
} | } | ||||
public function getMethodDescription() { | public function getMethodDescription() { | ||||
return 'Determine if code exists in a version control system.'; | return 'Determine if code exists in a version control system.'; | ||||
} | } | ||||
public function defineReturnType() { | protected function defineReturnType() { | ||||
return 'bool'; | return 'bool'; | ||||
} | } | ||||
protected function defineCustomParamTypes() { | protected function defineCustomParamTypes() { | ||||
return array( | return array( | ||||
'commit' => 'required string', | 'commit' => 'required string', | ||||
); | ); | ||||
} | } | ||||
Show All 35 Lines |