refactor framework kernel

This commit is contained in:
sunxyw
2023-02-24 16:49:24 +08:00
parent f60b886d76
commit bc76febadb
14 changed files with 266 additions and 162 deletions

View File

@@ -4,9 +4,11 @@ declare(strict_types=1);
namespace ZM\Bootstrap;
class LoadGlobalDefines
use ZM\Kernel;
class LoadGlobalDefines implements Bootstrapper
{
public function bootstrap(array $config): void
public function bootstrap(Kernel $kernel): void
{
require FRAMEWORK_ROOT_DIR . '/src/Globals/global_defines_framework.php';
}