From 8e67964a917d3a99aace87b23ebee1f482dcac42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 3 Mar 2021 13:03:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Controller.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/HttpServer/Controller.php b/HttpServer/Controller.php index 8a85cf01..4fb8a98c 100644 --- a/HttpServer/Controller.php +++ b/HttpServer/Controller.php @@ -9,8 +9,10 @@ use HttpServer\Http\HttpHeaders; use HttpServer\Http\HttpParams; use HttpServer\Http\Request; use Exception; +use ReflectionException; use Snowflake\Abstracts\TraitApplication; use Snowflake\Exception\ComponentException; +use Snowflake\Exception\NotFindClassException; use Snowflake\Snowflake; /** @@ -107,6 +109,8 @@ class Controller extends HttpService * @param $name * @return mixed * @throws ComponentException + * @throws ReflectionException + * @throws NotFindClassException */ public function __get($name): mixed {