This commit is contained in:
2023-11-30 17:02:21 +08:00
parent c29362be7c
commit 66ef753b67
4 changed files with 20 additions and 56 deletions
+1 -12
View File
@@ -7,7 +7,6 @@ error_reporting(0);
use JetBrains\PhpStorm\Pure;
use Kiri\Di\Container;
use Kiri\Di\LocalService;
use Kiri\Environmental;
use Kiri\Error\StdoutLogger;
use Swoole\Coroutine;
@@ -121,19 +120,9 @@ class Kiri
}
/**
* @return LocalService
* @throws ReflectionException
*/
public static function service(): LocalService
{
return static::getContainer()->get(LocalService::class);
}
/**
* @return StdoutLogger
* @throws ReflectionException
* @throws ReflectionException|Exception
*/
public static function getLogger(): StdoutLogger
{