mirror of
https://github.com/cytopia/devilbox.git
synced 2025-01-11 07:23:21 +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();
|
||
|
}
|