Differential D12380 Diff 29771 src/applications/diffusion/conduit/DiffusionQueryPathsConduitAPIMethod.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/conduit/DiffusionQueryPathsConduitAPIMethod.php
<?php | <?php | ||||
final class DiffusionQueryPathsConduitAPIMethod | final class DiffusionQueryPathsConduitAPIMethod | ||||
extends DiffusionQueryConduitAPIMethod { | extends DiffusionQueryConduitAPIMethod { | ||||
public function getAPIMethodName() { | public function getAPIMethodName() { | ||||
return 'diffusion.querypaths'; | return 'diffusion.querypaths'; | ||||
} | } | ||||
public function getMethodDescription() { | public function getMethodDescription() { | ||||
return pht('Filename search on a repository.'); | return pht('Filename search on a repository.'); | ||||
} | } | ||||
public function defineReturnType() { | protected function defineReturnType() { | ||||
return 'list<string>'; | return 'list<string>'; | ||||
} | } | ||||
protected function defineCustomParamTypes() { | protected function defineCustomParamTypes() { | ||||
return array( | return array( | ||||
'path' => 'required string', | 'path' => 'required string', | ||||
'commit' => 'required string', | 'commit' => 'required string', | ||||
'pattern' => 'optional string', | 'pattern' => 'optional string', | ||||
▲ Show 20 Lines • Show All 83 Lines • Show Last 20 Lines |