Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F71619628
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, Jul 12, 06:29
Size
601 B
Mime Type
text/x-php
Expires
Sun, Jul 14, 06:29 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
18963024
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