mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-23 14:42:25 +00:00
23 lines
418 B
PHP
23 lines
418 B
PHP
<?php
|
|
namespace devilbox;
|
|
|
|
/**
|
|
* Interface
|
|
*/
|
|
interface _iBase
|
|
{
|
|
/**
|
|
* Get singleton instance
|
|
* @return Object
|
|
*/
|
|
public static function getInstance($host, $user, $pass);
|
|
|
|
public static function isAvailable($hostname);
|
|
public static function testConnection(&$err, $host, $user, $pass);
|
|
public static function getIpAddress($hostname);
|
|
|
|
|
|
public function getName($default);
|
|
public function getVersion();
|
|
}
|