Page MenuHomec4science

ConduitAPI_conduit_ping_Method.php
No OneTemporary

File Metadata

Created
Wed, Feb 12, 06:32

ConduitAPI_conduit_ping_Method.php

<?php
/**
* @group conduit
*/
final class ConduitAPI_conduit_ping_Method extends ConduitAPIMethod {
public function shouldRequireAuthentication() {
return false;
}
public function getMethodDescription() {
return 'Basic ping for monitoring or a health-check.';
}
public function defineParamTypes() {
return array();
}
public function defineReturnType() {
return 'string';
}
public function defineErrorTypes() {
return array();
}
protected function execute(ConduitAPIRequest $request) {
return php_uname('n');
}
}

Event Timeline