This commit is contained in:
2021-09-06 17:59:12 +08:00
parent 42f057bc8a
commit 21c7f383bb
10 changed files with 18 additions and 429 deletions
-8
View File
@@ -15,7 +15,6 @@ use Database\Connection;
use Exception;
use Http\Context\HttpHeaders;
use Http\Context\HttpParams;
use Http\Context\Response;
use Http\Route\Router;
use Server\Server;
use Http\Shutdown;
@@ -431,8 +430,6 @@ abstract class BaseApplication extends Component
/**
* @param $array
* @throws ReflectionException
* @throws NotFindClassException
*/
private function setComponents($array): void
{
@@ -443,8 +440,6 @@ abstract class BaseApplication extends Component
/**
* @param $id
* @param $definition
* @throws ReflectionException
* @throws NotFindClassException
*/
public function set($id, $definition): void
{
@@ -455,8 +450,6 @@ abstract class BaseApplication extends Component
/**
* @param $id
* @return bool
* @throws NotFindClassException
* @throws ReflectionException
*/
public function has($id): bool
{
@@ -483,7 +476,6 @@ abstract class BaseApplication extends Component
'jwt' => ['class' => Jwt::class],
'async' => ['class' => Async::class],
'kafka-container' => ['class' => KafkaProvider::class],
'response' => ['class' => Response::class],
'shutdown' => ['class' => Shutdown::class],
]);
}