From 70cc485e6b6a1d7a6643d17f9568fad56f13b37c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 29 Mar 2021 17:52:02 +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/Abstracts/BaseApplication.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/System/Abstracts/BaseApplication.php b/System/Abstracts/BaseApplication.php index e250b01f..7145f0ea 100644 --- a/System/Abstracts/BaseApplication.php +++ b/System/Abstracts/BaseApplication.php @@ -39,7 +39,6 @@ use Snowflake\Exception\InitException; use Snowflake\Exception\NotFindClassException; use Snowflake\Jwt\Jwt; use Snowflake\Pool\Connection; -use Snowflake\Pool\ObjectPool; use Snowflake\Pool\Redis as SRedis; use Snowflake\Snowflake; use Snowflake\Event; @@ -423,16 +422,6 @@ abstract class BaseApplication extends Service } - /** - * @return ObjectPool - * @throws Exception - */ - public function getObject(): ObjectPool - { - return $this->get('object'); - } - - /** * @return \Rpc\Producer * @throws ComponentException @@ -479,7 +468,6 @@ abstract class BaseApplication extends Service 'jwt' => ['class' => Jwt::class], 'async' => ['class' => Async::class], 'filter' => ['class' => HttpFilter::class], - 'object' => ['class' => ObjectPool::class], 'goto' => ['class' => BaseGoto::class], 'channel' => ['class' => Channel::class], 'rpc' => ['class' => \Rpc\Producer::class],