Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F88576156
ConduitIntParameterType.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
Sat, Oct 19, 13:36
Size
582 B
Mime Type
text/x-php
Expires
Mon, Oct 21, 13:36 (2 d)
Engine
blob
Format
Raw Data
Handle
21792425
Attached To
rPH Phabricator
ConduitIntParameterType.php
View Options
<?php
final
class
ConduitIntParameterType
extends
ConduitParameterType
{
protected
function
getParameterValue
(
array
$request
,
$key
,
$strict
)
{
$value
=
parent
::
getParameterValue
(
$request
,
$key
,
$strict
);
return
$this
->
parseIntValue
(
$request
,
$key
,
$value
,
$strict
);
}
protected
function
getParameterTypeName
()
{
return
'int'
;
}
protected
function
getParameterFormatDescriptions
()
{
return
array
(
pht
(
'An integer.'
),
);
}
protected
function
getParameterExamples
()
{
return
array
(
'123'
,
'0'
,
'-345'
,
);
}
}
Event Timeline
Log In to Comment