改名
This commit is contained in:
@@ -41,10 +41,7 @@ use Snowflake\Snowflake;
|
||||
/**
|
||||
* @param array $handler
|
||||
* @return Router
|
||||
* @throws ComponentException
|
||||
* @throws ConfigException
|
||||
* @throws ReflectionException
|
||||
* @throws NotFindClassException
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function execute(array $handler): Router
|
||||
{
|
||||
@@ -53,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;
|
||||
|
||||
Reference in New Issue
Block a user