改名
This commit is contained in:
@@ -41,10 +41,7 @@ use Snowflake\Snowflake;
|
|||||||
/**
|
/**
|
||||||
* @param array $handler
|
* @param array $handler
|
||||||
* @return Router
|
* @return Router
|
||||||
* @throws ComponentException
|
* @throws \Exception
|
||||||
* @throws ConfigException
|
|
||||||
* @throws ReflectionException
|
|
||||||
* @throws NotFindClassException
|
|
||||||
*/
|
*/
|
||||||
public function execute(array $handler): Router
|
public function execute(array $handler): Router
|
||||||
{
|
{
|
||||||
@@ -53,6 +50,7 @@ use Snowflake\Snowflake;
|
|||||||
|
|
||||||
$method = $this->event . '::' . (is_null($this->uri) ? 'event' : $this->uri);
|
$method = $this->event . '::' . (is_null($this->uri) ? 'event' : $this->uri);
|
||||||
|
|
||||||
|
var_dump($method);
|
||||||
$router->addRoute($method, $handler, 'sw::socket');
|
$router->addRoute($method, $handler, 'sw::socket');
|
||||||
|
|
||||||
return $router;
|
return $router;
|
||||||
|
|||||||
Reference in New Issue
Block a user