改名
This commit is contained in:
@@ -13,12 +13,10 @@ namespace Kiri\Abstracts;
|
||||
use Annotation\Annotation as SAnnotation;
|
||||
use Database\Connection;
|
||||
use Exception;
|
||||
use HttpServer\Client\Http2;
|
||||
use HttpServer\Http\HttpHeaders;
|
||||
use HttpServer\Http\HttpParams;
|
||||
use HttpServer\Http\Request;
|
||||
use HttpServer\Http\Response;
|
||||
use HttpServer\HttpFilter;
|
||||
use HttpServer\Route\Router;
|
||||
use HttpServer\Server;
|
||||
use HttpServer\Shutdown;
|
||||
@@ -477,9 +475,6 @@ abstract class BaseApplication extends Component
|
||||
'kafka-container' => ['class' => KafkaProvider::class],
|
||||
'response' => ['class' => Response::class],
|
||||
'request' => ['class' => Request::class],
|
||||
'rpc' => ['class' => Producer::class],
|
||||
'rpc-service' => ['class' => Service::class],
|
||||
'http2' => ['class' => Http2::class],
|
||||
'shutdown' => ['class' => Shutdown::class],
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -6,23 +6,20 @@ namespace Kiri\Abstracts;
|
||||
|
||||
use Annotation\Annotation as SAnnotation;
|
||||
use Database\DatabasesProviders;
|
||||
use HttpServer\Client\Help\Client;
|
||||
use HttpServer\Client\Help\Curl;
|
||||
use HttpServer\Client\Http2;
|
||||
use HttpServer\Client\Client;
|
||||
use HttpServer\Client\Curl;
|
||||
use HttpServer\Http\Request;
|
||||
use HttpServer\Http\Response;
|
||||
use HttpServer\HttpFilter;
|
||||
use HttpServer\Route\Router;
|
||||
use HttpServer\Server;
|
||||
use HttpServer\Shutdown;
|
||||
use Rpc\Producer as RPCProducer;
|
||||
use Kiri\Crontab\Producer;
|
||||
use Kiri\Async;
|
||||
use Kiri\Cache\Redis;
|
||||
use Kiri\Error\Logger;
|
||||
use Kiri\Event;
|
||||
use Kiri\Jwt\Jwt;
|
||||
use Kiri\Pool\Connection;
|
||||
use Kiri\Pool\Pool;
|
||||
|
||||
/**
|
||||
* Trait TraitApplication
|
||||
@@ -38,14 +35,12 @@ use Kiri\Pool\Pool;
|
||||
* @property Logger $logger
|
||||
* @property Jwt $jwt
|
||||
* @property SAnnotation $annotation
|
||||
* @property Http2 $http2
|
||||
* @property BaseGoto $goto
|
||||
* @property Client $client
|
||||
* @property \Database\Connection $databases
|
||||
* @property Curl $curl
|
||||
* @property \Kiri\Crontab\Producer $crontab
|
||||
* @property Producer $crontab
|
||||
* @property HttpFilter $filter
|
||||
* @property RPCProducer $rpc
|
||||
* @property Shutdown $shutdown
|
||||
*/
|
||||
trait TraitApplication
|
||||
|
||||
Reference in New Issue
Block a user