Differential D12380 Diff 29723 src/applications/diffusion/conduit/DiffusionLastModifiedQueryConduitAPIMethod.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/conduit/DiffusionLastModifiedQueryConduitAPIMethod.php
<?php | <?php | ||||
final class DiffusionLastModifiedQueryConduitAPIMethod | final class DiffusionLastModifiedQueryConduitAPIMethod | ||||
extends DiffusionQueryConduitAPIMethod { | extends DiffusionQueryConduitAPIMethod { | ||||
public function getAPIMethodName() { | public function getAPIMethodName() { | ||||
return 'diffusion.lastmodifiedquery'; | return 'diffusion.lastmodifiedquery'; | ||||
} | } | ||||
public function getMethodDescription() { | public function getMethodDescription() { | ||||
return pht('Get the commits at which paths were last modified.'); | return pht('Get the commits at which paths were last modified.'); | ||||
} | } | ||||
public function defineReturnType() { | protected function defineReturnType() { | ||||
return 'map<string, string>'; | return 'map<string, string>'; | ||||
} | } | ||||
protected function defineCustomParamTypes() { | protected function defineCustomParamTypes() { | ||||
return array( | return array( | ||||
'paths' => 'required map<string, string>', | 'paths' => 'required map<string, string>', | ||||
); | ); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 134 Lines • Show Last 20 Lines |