Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F94016101
PhabricatorCustomFieldImplementationIncompleteException.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
Tue, Dec 3, 06:47
Size
702 B
Mime Type
text/x-php
Expires
Thu, Dec 5, 06:47 (2 d)
Engine
blob
Format
Raw Data
Handle
22711643
Attached To
rPH Phabricator
PhabricatorCustomFieldImplementationIncompleteException.php
View Options
<?php
final
class
PhabricatorCustomFieldImplementationIncompleteException
extends
Exception
{
public
function
__construct
(
PhabricatorCustomField
$field
,
$field_key_is_incomplete
=
false
)
{
if
(
$field_key_is_incomplete
)
{
$key
=
pht
(
'<incomplete key>'
);
$name
=
pht
(
'<incomplete name>'
);
}
else
{
$key
=
$field
->
getFieldKey
();
$name
=
$field
->
getFieldName
();
}
$class
=
get_class
(
$field
);
parent
::
__construct
(
"Custom field '{$name}' (with key '{$key}', of class '{$class}') is "
.
"incompletely implemented: it claims to support a feature, but does not "
.
"implement all of the required methods for that feature."
);
}
}
Event Timeline
Log In to Comment