From ae3f0add556cec02352a5148ee6a1cc4836d82f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 2 Mar 2021 14:36:17 +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 --- System/Application.php | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/System/Application.php b/System/Application.php index c9bc32fe..f756ea7e 100644 --- a/System/Application.php +++ b/System/Application.php @@ -129,27 +129,6 @@ class Application extends BaseApplication } } - - /** - * @throws ReflectionException - * @throws ComponentException - * @throws NotFindPropertyException|NotFindClassException - */ - public function scan_system_annotation() - { - $this->debug('scan system files...'); - - $annotation = Snowflake::app()->getAttributes(); - $annotation->read(__DIR__ . '/../Console/', 'Console', 'system'); - $annotation->read(__DIR__ . '/../Database/', 'Database', 'system'); - $annotation->read(__DIR__ . '/../Gii/', 'Gii', 'system'); - $annotation->read(__DIR__ . '/../HttpServer/', 'HttpServer', 'system'); - $annotation->read(__DIR__ . '/../Kafka/', 'Kafka', 'system'); - $annotation->read(__DIR__ . '/../System/', 'Snowflake', 'system'); - $annotation->read(__DIR__ . '/../Validator/', 'Validator', 'system'); - } - - /** * @param $className * @param null $abstracts