Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F547962
ConduitPingConduitAPIMethod.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
559 B
Referenced Files
None
Subscribers
None
ConduitPingConduitAPIMethod.php
View Options
<?php
final
class
ConduitPingConduitAPIMethod
extends
ConduitAPIMethod
{
public
function
getAPIMethodName
()
{
return
'conduit.ping'
;
}
public
function
shouldRequireAuthentication
()
{
return
false
;
}
public
function
getMethodDescription
()
{
return
pht
(
'Basic ping for monitoring or a health-check.'
);
}
protected
function
defineParamTypes
()
{
return
array
();
}
protected
function
defineReturnType
()
{
return
'string'
;
}
protected
function
execute
(
ConduitAPIRequest
$request
)
{
return
php_uname
(
'n'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 1:41 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
106628
Default Alt Text
ConduitPingConduitAPIMethod.php (559 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment