This commit is contained in:
2021-03-29 17:52:02 +08:00
parent 442386866d
commit 70cc485e6b
-12
View File
@@ -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],