Differential D14601 Diff 35338 src/aphront/httpparametertype/AphrontProjectListHTTPParameterType.php
Changeset View
Changeset View
Standalone View
Standalone View
src/aphront/httpparametertype/AphrontProjectListHTTPParameterType.php
| <?php | <?php | ||||
| final class AphrontProjectListHTTPParameterType | final class AphrontProjectListHTTPParameterType | ||||
| extends AphrontHTTPParameterType { | extends AphrontListHTTPParameterType { | ||||
| protected function getParameterValue(AphrontRequest $request, $key) { | protected function getParameterValue(AphrontRequest $request, $key) { | ||||
| $type = new AphrontStringListHTTPParameterType(); | $type = new AphrontStringListHTTPParameterType(); | ||||
| $list = $this->getValueWithType($type, $request, $key); | $list = $this->getValueWithType($type, $request, $key); | ||||
| return id(new PhabricatorProjectPHIDResolver()) | return id(new PhabricatorProjectPHIDResolver()) | ||||
| ->setViewer($this->getViewer()) | ->setViewer($this->getViewer()) | ||||
| ->resolvePHIDs($list); | ->resolvePHIDs($list); | ||||
| Show All 30 Lines | |||||