merge framework and kernel

This commit is contained in:
sunxyw
2023-03-07 23:07:52 +08:00
parent 8f43012a5c
commit 772288b517
19 changed files with 153 additions and 176 deletions

View File

@@ -4,11 +4,11 @@ declare(strict_types=1);
namespace ZM\Bootstrap;
use ZM\Kernel;
use ZM\HasRuntimeInfo;
class SetInternalTimezone implements Bootstrapper
{
public function bootstrap(Kernel $kernel): void
public function bootstrap(HasRuntimeInfo $runtime_info): void
{
date_default_timezone_set(config('global.runtime.timezone', 'UTC'));
}