Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F83138006
PhabricatorStringConfigType.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
Sun, Sep 15, 09:59
Size
455 B
Mime Type
text/x-php
Expires
Tue, Sep 17, 09:59 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20798330
Attached To
rPH Phabricator
PhabricatorStringConfigType.php
View Options
<?php
final
class
PhabricatorStringConfigType
extends
PhabricatorTextConfigType
{
const
TYPEKEY
=
'string'
;
public
function
validateStoredValue
(
PhabricatorConfigOption
$option
,
$value
)
{
if
(!
is_string
(
$value
))
{
throw
$this
->
newException
(
pht
(
'Option "%s" is of type "%s", but the configured value is not '
.
'a string.'
,
$option
->
getKey
(),
$this
->
getTypeKey
()));
}
}
}
Event Timeline
Log In to Comment