改名
This commit is contained in:
@@ -74,6 +74,19 @@ class Router extends HttpService implements RouterInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
* @throws ConfigException
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
|
public static function getNamespace(): string
|
||||||
|
{
|
||||||
|
$router = Kiri::app()->getRouter();
|
||||||
|
|
||||||
|
return Config::get('http.namespace', $router->namespace);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param bool $useTree
|
* @param bool $useTree
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user