From 6b6df9e312e2b3a6b3864792b7340183b196374a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 3 Mar 2021 13:49:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Annotation/Route/Socket.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Annotation/Route/Socket.php b/Annotation/Route/Socket.php index 2d1f06d0..bcf80a15 100644 --- a/Annotation/Route/Socket.php +++ b/Annotation/Route/Socket.php @@ -52,6 +52,8 @@ use Snowflake\Snowflake; $method = $this->event . '::' . (is_null($this->uri) ? 'event' : $this->uri); + var_dump($method); + $router->addRoute($method, $handler, 'sw::socket'); return $router;