Page MenuHomec4science

ConduitStringListParameterType.php
No OneTemporary

File Metadata

Created
Fri, Jul 12, 06:29

ConduitStringListParameterType.php

<?php
final class ConduitStringListParameterType
extends ConduitListParameterType {
protected function getParameterValue(array $request, $key, $strict) {
$list = parent::getParameterValue($request, $key, $strict);
return $this->parseStringList($request, $key, $list, $strict);
}
protected function getParameterTypeName() {
return 'list<string>';
}
protected function getParameterFormatDescriptions() {
return array(
pht('List of strings.'),
);
}
protected function getParameterExamples() {
return array(
'["mango", "nectarine"]',
);
}
}

Event Timeline