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
-16
View File
@@ -13,7 +13,6 @@ namespace Kiri;
use Closure;
use Database\DatabasesProviders;
use Exception;
use Http\Context\Response;
use Kiri\Abstracts\BaseApplication;
use Kiri\Abstracts\Config;
use Kiri\Abstracts\Kernel;
@@ -22,7 +21,6 @@ use Kiri\Exception\NotFindClassException;
use Kiri\FileListen\FileChangeCustomProcess;
use ReflectionException;
use Server\Events\OnBeforeCommandExecute;
use Server\ResponseInterface;
use Server\ServerCommand;
use Server\ServerProviders;
use stdClass;
@@ -57,7 +55,6 @@ class Application extends BaseApplication
/**
* @throws NotFindClassException
*/
public function init()
{
@@ -246,19 +243,6 @@ class Application extends BaseApplication
}
/**
* @param $data
* @return Response|ResponseInterface
* @throws NotFindClassException
* @throws ReflectionException
* @throws Exception
*/
private function getBuilder($data): Response|ResponseInterface
{
return di(Response::class)->getBuilder($data);
}
/**
* @param $className
* @param null $abstracts