Differential D16694 Diff 40224 src/applications/conduit/parametertype/ConduitStringListParameterType.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conduit/parametertype/ConduitStringListParameterType.php
<?php | <?php | ||||
final class ConduitStringListParameterType | final class ConduitStringListParameterType | ||||
extends ConduitListParameterType { | extends ConduitListParameterType { | ||||
protected function getParameterValue(array $request, $key) { | protected function getParameterValue(array $request, $key, $strict) { | ||||
$list = parent::getParameterValue($request, $key); | $list = parent::getParameterValue($request, $key, $strict); | ||||
return $this->validateStringList($request, $key, $list); | return $this->parseStringList($request, $key, $list, $strict); | ||||
} | } | ||||
protected function getParameterTypeName() { | protected function getParameterTypeName() { | ||||
return 'list<string>'; | return 'list<string>'; | ||||
} | } | ||||
protected function getParameterFormatDescriptions() { | protected function getParameterFormatDescriptions() { | ||||
return array( | return array( | ||||
Show All 11 Lines |