Differential D12380 Diff 29771 src/applications/diffusion/conduit/DiffusionSearchQueryConduitAPIMethod.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/conduit/DiffusionSearchQueryConduitAPIMethod.php
<?php | <?php | ||||
final class DiffusionSearchQueryConduitAPIMethod | final class DiffusionSearchQueryConduitAPIMethod | ||||
extends DiffusionQueryConduitAPIMethod { | extends DiffusionQueryConduitAPIMethod { | ||||
public function getAPIMethodName() { | public function getAPIMethodName() { | ||||
return 'diffusion.searchquery'; | return 'diffusion.searchquery'; | ||||
} | } | ||||
public function getMethodDescription() { | public function getMethodDescription() { | ||||
return 'Search (grep) a repository at a specific path and commit.'; | return 'Search (grep) a repository at a specific path and commit.'; | ||||
} | } | ||||
public function defineReturnType() { | protected function defineReturnType() { | ||||
return 'array'; | return 'array'; | ||||
} | } | ||||
protected function defineCustomParamTypes() { | protected function defineCustomParamTypes() { | ||||
return array( | return array( | ||||
'path' => 'required string', | 'path' => 'required string', | ||||
'commit' => 'optional string', | 'commit' => 'optional string', | ||||
'grep' => 'required string', | 'grep' => 'required string', | ||||
▲ Show 20 Lines • Show All 96 Lines • Show Last 20 Lines |