改名
This commit is contained in:
@@ -50,6 +50,7 @@ use Snowflake\Snowflake;
|
||||
|
||||
$method = $this->event . '::' . (is_null($this->uri) ? 'event' : $this->uri);
|
||||
|
||||
var_dump($method);
|
||||
$router->addRoute($method, $handler, 'sw::socket');
|
||||
|
||||
return $router;
|
||||
|
||||
@@ -414,7 +414,6 @@ class Router extends HttpService implements RouterInterface
|
||||
return $this->nodes[$method]['/'] ?? null;
|
||||
}
|
||||
$first = array_shift($explode);
|
||||
var_dump($this->nodes[$method]);
|
||||
if (!($parent = $this->nodes[$method][$first] ?? null)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user