改名
This commit is contained in:
@@ -40,6 +40,7 @@ use Annotation\IAnnotation;
|
|||||||
// TODO: Implement setHandler() method.
|
// TODO: Implement setHandler() method.
|
||||||
$router = Snowflake::app()->getRouter();
|
$router = Snowflake::app()->getRouter();
|
||||||
|
|
||||||
|
var_dump($this->uri, $handler, $this->method);
|
||||||
$router->addRoute($this->uri, $handler, $this->method);
|
$router->addRoute($this->uri, $handler, $this->method);
|
||||||
|
|
||||||
return $router;
|
return $router;
|
||||||
|
|||||||
Reference in New Issue
Block a user