改名
This commit is contained in:
@@ -67,11 +67,10 @@ class WebSocket extends Server
|
|||||||
{
|
{
|
||||||
parent::set($settings);
|
parent::set($settings);
|
||||||
|
|
||||||
$application = Snowflake::get();
|
$this->application->set(WebSocket::class, $this);
|
||||||
$application->set(WebSocket::class, $this);
|
$this->application->set(Pool::class, $pool);
|
||||||
$application->set(Pool::class, $pool);
|
|
||||||
|
|
||||||
$annotation = $application->annotation;
|
$annotation = $this->application->annotation;
|
||||||
$annotation->register('websocket', AWebsocket::class);
|
$annotation->register('websocket', AWebsocket::class);
|
||||||
|
|
||||||
ServerManager::set($this, $settings, $this->application, $events, $config);
|
ServerManager::set($this, $settings, $this->application, $events, $config);
|
||||||
|
|||||||
Reference in New Issue
Block a user