改名
This commit is contained in:
@@ -39,7 +39,6 @@ use Snowflake\Exception\InitException;
|
|||||||
use Snowflake\Exception\NotFindClassException;
|
use Snowflake\Exception\NotFindClassException;
|
||||||
use Snowflake\Jwt\Jwt;
|
use Snowflake\Jwt\Jwt;
|
||||||
use Snowflake\Pool\Connection;
|
use Snowflake\Pool\Connection;
|
||||||
use Snowflake\Pool\ObjectPool;
|
|
||||||
use Snowflake\Pool\Redis as SRedis;
|
use Snowflake\Pool\Redis as SRedis;
|
||||||
use Snowflake\Snowflake;
|
use Snowflake\Snowflake;
|
||||||
use Snowflake\Event;
|
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
|
* @return \Rpc\Producer
|
||||||
* @throws ComponentException
|
* @throws ComponentException
|
||||||
@@ -479,7 +468,6 @@ abstract class BaseApplication extends Service
|
|||||||
'jwt' => ['class' => Jwt::class],
|
'jwt' => ['class' => Jwt::class],
|
||||||
'async' => ['class' => Async::class],
|
'async' => ['class' => Async::class],
|
||||||
'filter' => ['class' => HttpFilter::class],
|
'filter' => ['class' => HttpFilter::class],
|
||||||
'object' => ['class' => ObjectPool::class],
|
|
||||||
'goto' => ['class' => BaseGoto::class],
|
'goto' => ['class' => BaseGoto::class],
|
||||||
'channel' => ['class' => Channel::class],
|
'channel' => ['class' => Channel::class],
|
||||||
'rpc' => ['class' => \Rpc\Producer::class],
|
'rpc' => ['class' => \Rpc\Producer::class],
|
||||||
|
|||||||
Reference in New Issue
Block a user