Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F76599757
ConduitStringListParameterType.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Aug 9, 04:21
Size
601 B
Mime Type
text/x-php
Expires
Sun, Aug 11, 04:21 (2 d)
Engine
blob
Format
Raw Data
Handle
19739507
Attached To
rPH Phabricator
ConduitStringListParameterType.php
View Options
<?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
Log In to Comment