改名
This commit is contained in:
@@ -60,6 +60,16 @@ class Server extends Application
|
||||
private $baseServer;
|
||||
|
||||
|
||||
/**
|
||||
* @throws ConfigException
|
||||
* @throws Exception
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
$this->initCore(Config::get('servers', true));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param array $configs
|
||||
* @return Http|Packet|Receive|WebSocket
|
||||
@@ -86,6 +96,17 @@ class Server extends Application
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*
|
||||
* start server
|
||||
*/
|
||||
public function start()
|
||||
{
|
||||
return $this->baseServer->start();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param bool $isEnable
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user